Cloud
Jira Cloud platform / Reference / REST API v3

This resource represents a service registry. Use it to retrieve attributes related to a service registry in JSM.

GET

Retrieve the attributes of service registriesExperimental

Retrieve the attributes of given service registries.

Permissions required: Only Connect apps can make this request and the servicesIds belong to the tenant you are requesting

Data Security Policy: Exempt from app access rules
Scopes

Connect apps cannot access this REST resource.

Request

Query parameters

serviceIds

array<string>

Required

Responses

Returned if the request is successful.

application/json

array<ServiceRegistry>

GET/rest/atlassian-connect/1/service-registry
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ // // This API resource doesn't support Oauth2 (3LO). See alternate authorization methods: // https://developer.atlassian.com/cloud/jira/platform/rest/v3/#authentication import api, { route } from "@forge/api"; const response = await api.requestJira(route`/rest/atlassian-connect/1/service-registry?serviceIds={serviceIds}`, { headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [ { "description": "<string>", "id": "<string>", "name": "<string>", "organizationId": "<string>", "revision": "<string>", "serviceTier": { "description": "<string>", "id": "<string>", "level": 10, "name": "<string>", "nameKey": "service-registry.tier1.name" } } ]

Rate this page: