specs_contents
Creates, updates, deletes, gets or lists a specs_contents
resource.
Overview
Name | specs_contents |
Type | Resource |
Id | google.apigeeregistry.specs_contents |
Fields
Name | Datatype | Description |
---|---|---|
contentType | string | The HTTP Content-Type header value specifying the content type of the body. |
data | string | The HTTP request/response body as raw binary. |
extensions | array | Application specific response metadata. Must be set in the first response for streaming APIs. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_apis_versions_specs_get_contents | SELECT | apisId, locationsId, projectsId, specsId, versionsId | Returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned). |
SELECT
examples
Returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned).
SELECT
contentType,
data,
extensions
FROM google.apigeeregistry.specs_contents
WHERE apisId = '{{ apisId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND specsId = '{{ specsId }}'
AND versionsId = '{{ versionsId }}';