Get all OpenAPIs

get

/apiManagement/openAPI/v3.0.3

Request

There are no request parameters for this operation.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : openAPI
Type: object
Show Source

400 Response

Bad Request
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source

401 Response

Unauthorized
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source

403 Response

Forbidden
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source

404 Response

Not Found
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source

500 Response

Internal Server Error
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
Back to Top

Examples

The following example shows how to get all openapis by submitting a get request on the REST resource using cURL.

cURL Command

curl --<username:password> --request GET '{FABRIC_HOST}/apiManagement/openAPI/v3.0.3' --header 'Authorization: Bearer <accessToken> --header 'Content-Type: application/json'

Example of Response Body

The following shows an example of the response body in JSON format.

[
    {
        "api-name": "geographicSiteManagement",
        "api-id": "tmf-674",
        "api-version": "v4",
        "api-root-resources": [
            "geographicSite"
        ],
        "callback-registration-path": "/hub",
        "api-events": [
            {
                "name": "geographicSiteCreateEvent",
                "api-resource": "geographicSite"
            },
            {
                "name": "geographicSiteAttributeValueChangeEvent",
                "api-resource": "geographicSite"
            },
            {
                "name": "geographicSiteStatusChangeEvent",
                "api-resource": "geographicSite"
            },
            {
                "name": "geographicSiteDeleteEvent",
                "api-resource": "geographicSite"
            }
        ],
        "openapi-document-url": "https://github.com/tmforum-apis/TMF674_GeographicSite/blob/master/TMF674-GeographicSite-v4.0.0.swagger.json",
        "id": "geographic-site-management-v4"
    },
    {
        "api-name": "fa-contacts-new4",
        "api-id": "fa-1014",
        "api-version": "v1",
        "api-resources": [
            {
                "resource-id": "contacts",
                "name": "contacts",
                "resource-path": "{party-name}",
                "path-parameters": [
                    {
                        "parameter-name": "party-name",
                        "parameter-type": "string",
                        "is-record-id": true
                    }
                ],
                "http-methods": {
                    "single-record-methods": [
                        "GET",
                        "PUT",
                        "POST",
                        "HEAD",
                        "OPTIONS",
                        "PATCH",
                        "DELETE"
                    ],
                    "multi-record-methods": [
                        "GET",
                        "POST",
                        "HEAD",
                        "OPTIONS"
                    ]
                },
                "cors-preflight-handling": "fabric",
                "routing-ambiguity-resolution-strategy": "HTTP400BadRequest"
            },
            {
                "resource-id": "contacts_SourceSystemRef",
                "name": "contacts_SourceSystemRef",
                "resource-path": "{party-number}/child/SourceSystemReference",
                "path-parameters": [
                    {
                        "parameter-name": "party-number",
                        "parameter-type": "string",
                        "is-record-id": false
                    }
                ],
                "http-methods": {
                    "single-record-methods": [],
                    "multi-record-methods": [
                        "GET",
                        "POST",
                        "HEAD",
                        "OPTIONS"
                    ]
                },
                "cors-preflight-handling": "fabric",
                "routing-ambiguity-resolution-strategy": "HTTP400BadRequest"
            },
            {
                "resource-id": "contacts_ContactPoint",
                "name": "contacts_ContactPoint",
                "resource-path": "{party-number}/child/ContactPoint",
                "path-parameters": [
                    {
                        "parameter-name": "party-number",
                        "parameter-type": "string",
                        "is-record-id": false
                    }
                ],
                "http-methods": {
                    "single-record-methods": [],
                    "multi-record-methods": [
                        "GET",
                        "POST",
                        "HEAD",
                        "OPTIONS"
                    ]
                },
                "cors-preflight-handling": "fabric",
                "routing-ambiguity-resolution-strategy": "HTTP400BadRequest"
            },
            {
                "resource-id": "contacts_SourceSystemRef_Id",
                "name": "contacts_SourceSystemRef_Id",
                "resource-path": "{party-number}/child/SourceSystemReference/{sourcesystem-refid}",
                "path-parameters": [
                    {
                        "parameter-name": "party-number",
                        "parameter-type": "string",
                        "is-record-id": false
                    },
                    {
                        "parameter-name": "sourcesystem-refid",
                        "parameter-type": "string",
                        "is-record-id": false
                    }
                ],
                "http-methods": {
                    "single-record-methods": [],
                    "multi-record-methods": [
                        "GET",
                        "POST",
                        "HEAD",
                        "OPTIONS"
                    ]
                },
                "cors-preflight-handling": "fabric",
                "routing-ambiguity-resolution-strategy": "HTTP400BadRequest"
            },
            {
                "resource-id": "contacts_ContactPoint_Id",
                "name": "contacts_ContactPoint_Id",
                "resource-path": "{party-number}/child/ContactPoint/{contactpoint-id}",
                "path-parameters": [
                    {
                        "parameter-name": "party-number",
                        "parameter-type": "string",
                        "is-record-id": false
                    },
                    {
                        "parameter-name": "contactpoint-id",
                        "parameter-type": "string",
                        "is-record-id": false
                    }
                ],
                "http-methods": {
                    "single-record-methods": [],
                    "multi-record-methods": [
                        "GET",
                        "POST",
                        "HEAD",
                        "OPTIONS"
                    ]
                },
                "cors-preflight-handling": "fabric",
                "routing-ambiguity-resolution-strategy": "HTTP400BadRequest"
            }
        ],...
]
Back to Top