GET
/
products
/
{product_id}
/
spec-details
/
{spec-id}
Get description of a Specification
curl --request GET \
  --url http://localhost:3001/portal-api/products/{product_id}/spec-details/{spec-id} \
  --header 'Authorization: <api-key>'
{
  "CID": "2r7p8aUnkzby17hCJk8w2XvK3K6",
  "SpecAlias": "payment_api",
  "OASUrl": "https://petstore.swagger.io/v2/swagger.json",
  "Name": "Payment API Documentation",
  "ID": 1
}

Authorizations

Authorization
string
header
required

Path Parameters

spec-id
integer
required

ID of the Specification

Example:

1

product_id
integer
required

UID of an API Product

Example:

1

Response

OK

SpecAlias
string
required

Alias/identifier for this Specification

Example:

"payment_api"

CID
string

Client ID associated with this Specification

Example:

"2r7p8aUnkzby17hCJk8w2XvK3K6"

OASUrl
string

URL of OpenAPI Specification. The document must be a valid OAS document

Example:

"https://petstore.swagger.io/v2/swagger.json"

Name
string

Name of the Specification

Example:

"Payment API Documentation"

ID
integer

Unique identifier of the Specification

Example:

1