Get API iteration details
/apiplatform/management/v1/apis/{apiId}/iterations/{iterId}
Returns the details of the {iterId)
iteration of the {apiId}
API. The response also contains HATEOAS links to related operations.
Users requesting this resource must be assigned the API Manager, Plan Manager or Gateway Manager role and must be issued the Manage API, View All Details or View Public Details grants for the specified API.
Request
- application/json
-
apiId: string
A unique ID referencing a specific API.
-
iterId: string
A unique ID referencing a specific iteration of an API.
-
fields(optional): array
Collection Format:
csv
Pass optional fields, separated by commas, in this parameter to return them in the response. See the operation's description for a list of field values. - links(optional): array
Response
- application/json
200 Response
object
-
links(optional):
array links
Includes 'canonical'.
object
object
-
href(optional):
string
Link href.
-
method(optional):
string
HTTP Operation GET, POST, PUT
-
rel(optional):
string
Link relation.
403 Response
object
-
detail(optional):
string
Detailed error message
-
errorCode(optional):
string
Application specific error code
-
errorDetails(optional):
array errorDetails
additional errors
-
errorPath(optional):
string
-
instance(optional):
string
URI to the link that provides more detail about the error
-
status(optional):
string
HTTP status code
-
title:
string
Summary error message
-
type:
string
Error type
500 Response
object
-
detail(optional):
string
Detailed error message
-
errorCode(optional):
string
Application specific error code
-
errorDetails(optional):
array errorDetails
additional errors
-
errorPath(optional):
string
-
instance(optional):
string
URI to the link that provides more detail about the error
-
status(optional):
string
HTTP status code
-
title:
string
Summary error message
-
type:
string
Error type
Examples
The following example shows how to retrieve the details of a specific iteration of an API by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL
curl -i -X GET
-H "Authorization: Bearer access_token"
https://example.com/apiplatform/management/v1/apis/{apiId}/iterations/{iterId}
-
{apiId}
is the unique Id for an API. To view available API Ids, see Get APIs. -
{iterId}
is the unique ID of the iteration. To view the iteration ID of an API, see Get API details.
Example of Response Headers
The following shows an example of the response headers.
200 OK Server: Oracle-Traffic-Director/12.2.1.0.0 Date: Fri, 17 Mar 2017 06:07:13 GMT Content-Length: 1038 Content-Type: application/json X-oracle-dms-ecid: f102c33f-1c5b-4409-806d-03bf5706c492-0002ab1c X-oracle-dms-rid: 0:1 Via: 1.1 otd_opc Proxy-agent: Oracle-Traffic-Director/12.2.1.0.0
Example of Response Body
The following example shows the contents of the response body in JSON format, including iteration details, also contains HATEOAS links to related operations.
{ "vanityName": "allied1", "implementation": { "executions": { "request": [ "1", "5", "6", "2" ], "response": [ "3", "4" ] }, "policies": [ { "draft": false, "id": "1", "type": "o:ApiRequest", "version": "1.0", "config": { "protocols": [ "HTTP" ], "url": "allied1" } }, { "draft": false, "id": "2", "type": "o:ServiceRequest", "version": "1.0", "config": { "url": "http://example.com:443/apiplatform/developers/v1/public/enabled" } }, { "id": "3", "type": "o:ServiceResponse", "version": "1.0", "config": {} }, { "id": "4", "type": "o:ApiResponse", "version": "1.0", "config": {} }, { "comments": "", "draft": false, "id": "5", "type": "o:KeyValidation", "version": "1.0", "config": { "keysource": "HEADER", "keyheader": "X-APP-KEY" } }, { "comments": "", "draft": false, "id": "6", "type": "o:apiRateLimiting", "version": "1.0", "config": { "conjunction": "ALL", "action": "REJECT", "conditions": [ { "rateLimit": "8", "interval": "Minute" } ] } } ] }, "description": "Fast and easy real estate mortgage payment calculator", "version": "1.0", "createdAt": "2018-02-05T10:27:27-0800", "createdBy": "apicsadmin", "publication": { "visibility": "PROTECTED", "portalUrl": "http://example.com:443/developers/apis/allied1", "state": "PUBLISHED", "iterationId": "1" }, "name": "Allied Mortgage Calculator", "details": { "overview": { "data": "http://example.com:443/apidocs/sample.html", "docType": "html", "dataType": "link" }, "documentation": { "data": "http://example.com:443/apidocs/sample.md", "docType": "markdown", "dataType": "link" } }, "links": [ { "templated": "true", "method": "GET", "rel": "self", "href": "http://example.com:443/apiplatform/management/v1/apis/100/iterations/1" }, { "templated": "true", "method": "GET", "rel": "canonical", "href": "http://example.com:443/apiplatform/management/v1/apis/100" } ], "state": "RELEASED", "id": "100", "iterationId": "1", "artifacts": [] }