RepositoryProfile
What a repository has, at one ref, and how it is set up.
Shape
- commit_shaCommitHash (string)The commit it resolved to.
filesProfileFiles
- The ProfileFiles schema
catalogProfileFile or nulloptional
- The ProfileFile schema
- pathstring
changelogProfileFile or nulloptional
- The ProfileFile schema
- pathstring
code_of_conductProfileFile or nulloptional
- The ProfileFile schema
- pathstring
codeownersProfileFile or nulloptional
- The ProfileFile schema
- pathstring
contributingProfileFile or nulloptional
- The ProfileFile schema
- pathstring
licenseProfileLicense or nulloptional
- The ProfileLicense schema
- pathstring
- namestring or nulloptional
- spdx_idstring or nulloptionalThe licence's SPDX identifier, when the text is one of the licences the platform knows. Absent for a licence it does not recognise — never a guess at the nearest.
readmeProfileFile or nulloptional
- The ProfileFile schema
- pathstring
securityProfileFile or nulloptional
- The ProfileFile schema
- pathstring
- refstringThe ref the files were read at, as asked.
setupProfileSetup
- The ProfileSetup schema
- default_branch_protectedbooleanA branch rule protects the default branch.
- pipeline_countinteger · int320–∞Its published pipelines, counted up to 100.
wikiProfileWiki
- The ProfileWiki schema
- enabledboolean
- page_countinteger · int320–∞
latest_releaseProfileRelease or nulloptional
- The ProfileRelease schema
- tag_nameTagName (string)
Example
Synthesized example{
"commit_sha": "b07225ec769da22cff2dd9ec1126fe2936f31248",
"files": {
"catalog": {
"path": "path-5178"
},
"changelog": {
"path": "path-0f90"
},
"code_of_conduct": {
"path": "path-60ca"
},
"codeowners": {
"path": "path-88cd"
},
"contributing": {
"path": "path-402f"
},
"license": {
"path": "path-0c6f",
"name": "payments-api",
"spdx_id": "ec6b5155-499e-4e9c-8e8b-db4e1ad4a683"
},
"readme": {
"path": "path-f630"
},
"security": {
"path": "path-adb6"
}
},
"ref": "ref-bb44",
"setup": {
"default_branch_protected": false,
"pipeline_count": 0,
"wiki": {
"enabled": true,
"page_count": 2
},
"latest_release": {
"tag_name": "payments-api"
}
}
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 1 operation