Get gateway artifacts of a specified name, version and type

get

/apiplatform/administration/v1/artifacts/{name}/types/{type}/versions/{version}

Returns the gateway artifact with the specified {name}, {type}, and {version}. The response also contains HATEOAS links to related operations.

Users requesting this resource must be assigned the Administrator role.

Request

Supported Media Types
Path Parameters
Query Parameters
  • 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.
Back to Top

Response

Supported Media Types

200 Response

The gateway artifact with the specified name, type and version.
Body ()
Root Schema : Artifact
Type: object
Show Source

400 Response

Bad request, indicates a problem with the input parameters.
Body ()
Root Schema : Error
Type: object
Show Source
Nested Schema : errorDetails
Type: array
additional errors
Show Source

403 Response

Forbidden.
Body ()
Root Schema : Error
Type: object
Show Source
Nested Schema : errorDetails
Type: array
additional errors
Show Source

404 Response

Not Found.
Body ()
Root Schema : Error
Type: object
Show Source
Nested Schema : errorDetails
Type: array
additional errors
Show Source

500 Response

Unexpected error.
Body ()
Root Schema : Error
Type: object
Show Source
Nested Schema : errorDetails
Type: array
additional errors
Show Source
Back to Top

Examples

The following example shows how to retrieve details about artifacts of a specific name, type, and version by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL.

curl -i -X GET 
-u apicsadmin:password
https://example.com/apiplatform/administration/v1/artifacts/apics-analytics.logstash.config/types/zip/versions/1.0

Example of Response Headers

The following shows an example of the response headers.

HTTP/1.1 200 OK
Server: Oracle-Traffic-Director/12.2.1.2.0
Date: Thu, 05 Jan 2017 18:27:21 GMT
Content-length: 462
Content-type: application/json
X-oracle-dms-ecid: mbwZ3133000000000
X-oracle-dms-rid: 0:1
Via: 1.1 otd_opc
Proxy-agent: Oracle-Traffic-Director/12.2.1.2.0

Example of Response Body

The following example shows the contents of the response body in JSON format, including <additoinal information>:

{
  "createdAt": "2017-01-05T02:46:36+0000",
  "updatedBy": "anonymous",
  "createdBy": "anonymous",
  "name": "apics-analytics.logstash.config",
  "description": "Properties for Analytics Agent & Logstash",
  "links": [
    {
      "templated": "true",
      "method": "GET",
      "rel": "canonical",
      "href": "https://example.com:443/apiplatform/administration/v1/artifacts/apics-analytics.logstash.config/types/zip/versions/1.0"
    }
  ],
  "type": "zip",
  "version": "1.0",
  "revision": 1,
  "updatedAt": "2017-01-05T02:46:36+0000"
}
Back to Top