Get reference type
get/config/referencetype
Request
- Base URLhttps://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/workspaceId/v1
- URLhttps://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/workspaceId/v1/config/referencetype
- Auth
- OAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: read:cmdb-config:jira
- or HTTP bearer
Query parameters
objectSchemaIdstring
Include reference types for the object schema id. If supplied reference types for the object schema will be returned otherwise all global will be returned
includeAllboolean
Include all reference types. Defaults to false
Response
Example response
[
{
"id": "4",
"name": "Reference",
"displayName": "Reference",
"description": "Reference",
"color": "49a6ed",
"url16": "https://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/f1668d0c-828c-470c-b7d1-8c4f48cd345a/v1/config/referencetype/4/image.png?size=16",
"removable": false,
"objectSchemaId": null
},
{
"id": "7",
"name": "Work At",
"displayName": "Work At",
"description": "",
"color": "688E6E",
"url16": "https://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/f1668d0c-828c-470c-b7d1-8c4f48cd345a/v1/config/referencetype/7/image.png?size=16",
"removable": true,
"objectSchemaId": "6"
}
]Changes
- info
added the optional property
/to the response with the status
- info