reposCustomPropertiesForReposGetRepositoryValues
Get all custom property values for a repository
Details
- Method:
GET - Path:
/repos/{owner}/{repo}/properties/values - Operation ID:
repos/custom-properties-for-repos-get-repository-values
Parameters
{
"owner": {
"description": "The account owner of the repository. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"repo": {
"description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
}
}Response Schema
{
"type": "array",
"items": {
"title": "Custom Property Value",
"description": "Custom property name and associated value",
"type": "object",
"properties": {
"property_name": {
"type": "string",
"description": "The name of the property"
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "The value assigned to the property",
"nullable": true
}
},
"required": [
"property_name",
"value"
]
}
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('github')
# Call this tool
result = await agent.call_tool('reposCustomPropertiesForReposGetRepositoryValues', {
# Add required parameters here
})