Resource: Api
An API resource in the API hub.
JSON representation |
---|
{ "name": string, "displayName": string, "description": string, "documentation": { object ( |
Fields | |||
---|---|---|---|
name |
Identifier. The name of the API resource in the API hub. Format: |
||
displayName |
Required. The display name of the API resource. |
||
description |
Optional. The description of the API resource. |
||
documentation |
Optional. The documentation for the API resource. |
||
owner |
Optional. Owner details for the API resource. |
||
versions[] |
Output only. The list of versions present in an API resource. Note: An API resource can be associated with more than 1 version. Format is |
||
createTime |
Output only. The time at which the API resource was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
||
updateTime |
Output only. The time at which the API resource was last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
||
targetUser |
Optional. The target users for the API. This maps to the following system defined attribute: |
||
team |
Optional. The team owning the API. This maps to the following system defined attribute: |
||
businessUnit |
Optional. The business unit owning the API. This maps to the following system defined attribute: |
||
maturityLevel |
Optional. The maturity level of the API. This maps to the following system defined attribute: |
||
attributes |
Optional. The list of user defined attributes associated with the API resource. The key is the attribute name. It will be of the format: An object containing a list of |
||
apiStyle |
Optional. The style of the API. This maps to the following system defined attribute: |
||
selectedVersion |
Optional. The selected version for an API resource. This can be used when special handling is needed on client side for particular version of the API. Format is |
||
apiRequirements |
Optional. The api requirement doc associated with the API resource. Carinality is 1 for this attribute. |
||
fingerprint |
Optional. Fingerprint of the API resource. |
||
sourceMetadata[] |
Output only. The list of sources and metadata from the sources of the API resource. |
||
apiFunctionalRequirements |
Optional. The api functional requirements associated with the API resource. Carinality is 1 for this attribute. |
||
apiTechnicalRequirements |
Optional. The api technical requirements associated with the API resource. Carinality is 1 for this attribute. |
Methods |
|
---|---|
|
Create an API resource in the API hub. |
|
Delete an API resource in the API hub. |
|
Get API resource details including the API versions contained in it. |
|
List API resources in the API hub. |
|
Update an API resource in the API hub. |