v1

latestOpenAPI 3.0.42026-07-13107171473.3 KB
Code References

Upload References

post/v1/code-references

Request body

configIdstring uuid required

The Config's identifier the scanning was performed against.

repositorystring required

The source control repository that contains the scanned code. (Source of the repository selector on the ConfigCat Dashboard)

branchstring required

The source control branch on where the scan was performed. (Source of the branch selector on the ConfigCat Dashboard)

commitUrlstring nullable

The related commit's URL. (Appears on the ConfigCat Dashboard)

commitHashstring nullable

The related commit's hash. (Appears on the ConfigCat Dashboard)

uploaderstring nullable

The scanning tool's name. (Appears on the ConfigCat Dashboard)

activeBranchesstring[]

The currently active branches of the repository. Each previously uploaded report that belongs to a non-reported active branch is being deleted.

Response

OK