Get all JSON Schemas

get

/apiManagement/jsonSchemas/{resource-owner}/{classifier}

Request

Path Parameters
  • Below are the list of valid values for 'classifier': * `Common`, `Customer`, `EngagedParty`, `Product`, `Resource`, `service` `MarketingSales`, `buying`, `care`, `common` and `launch`, - the value is a string. * ..
  • Below are the list of valid values for 'resource-owner': * `industry`, `oracle` and `custom`- the value is a string. * ..

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : jsonSchemas
Type: object
Show Source
Nested Schema : definitions
Type: object
Show Source
Nested Schema : entity-name
Type: object
Show Source
Nested Schema : allOff
Type: array
Show Source 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 shows how to get all JSON schemas by submitting a GET request on the REST resource using cURL.

cURL Command

curl -H 'Authorization: Bearer <Token>' -X GET https://{FABRIC_HOST}/apiManagement/jsonSchemas/{resource-owner}/{classifier} -H "Content-Type: application/json" | json_pp

Response Body

The following shows the contents of the response body in JSON format.

{
    "links": [
        {
            "rel": "SIFAOracleCustomer",
            "href": "https://1/apiManagement/jsonSchemas/custom/common/SIFAOracleCustomer.schema.json"
        }
    ]
}
Back to Top