getAllProjectTypes
Get all project types
Details
- Method:
GET - Path:
/rest/api/3/project/type - Operation ID:
getAllProjectTypes
Parameters
{}Response Schema
{
"items": {
"additionalProperties": false,
"description": "Details about a project type.",
"properties": {
"color": {
"description": "The color of the project type.",
"readOnly": true,
"type": "string"
},
"descriptionI18nKey": {
"description": "The key of the project type's description.",
"readOnly": true,
"type": "string"
},
"formattedKey": {
"description": "The formatted key of the project type.",
"readOnly": true,
"type": "string"
},
"icon": {
"description": "The icon of the project type.",
"readOnly": true,
"type": "string"
},
"key": {
"description": "The key of the project type.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"type": "array"
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('getAllProjectTypes', {
# Add required parameters here
})