Skip to main content

apidocs_documentation

Creates, updates, deletes, gets or lists a apidocs_documentation resource.

Overview

Nameapidocs_documentation
TypeResource
Idgoogle.apigee.apidocs_documentation

Fields

NameDatatypeDescription
dataobjectThe documentation for a catalog item.
errorCodestringOutput only. Unique error code for the request, if any.
messagestringOutput only. Description of the operation.
requestIdstringOutput only. Unique ID of the request.
statusstringOutput only. Status of the operation.

Methods

NameAccessible byRequired ParamsDescription
organizations_sites_apidocs_get_documentationSELECTapidocsId, organizationsId, sitesIdGets the documentation for the specified catalog item.
organizations_sites_apidocs_update_documentationUPDATEapidocsId, organizationsId, sitesIdUpdates the documentation for the specified catalog item. Note that the documentation file contents will not be populated in the return message.

SELECT examples

Gets the documentation for the specified catalog item.

SELECT
data,
errorCode,
message,
requestId,
status
FROM google.apigee.apidocs_documentation
WHERE apidocsId = '{{ apidocsId }}'
AND organizationsId = '{{ organizationsId }}'
AND sitesId = '{{ sitesId }}';

UPDATE example

Updates a apidocs_documentation resource.

/*+ update */
UPDATE google.apigee.apidocs_documentation
SET
graphqlDocumentation = '{{ graphqlDocumentation }}',
oasDocumentation = '{{ oasDocumentation }}'
WHERE
apidocsId = '{{ apidocsId }}'
AND organizationsId = '{{ organizationsId }}'
AND sitesId = '{{ sitesId }}';