Resource: Version
Represents a version of the API resource in API hub. This is also referred to as the API version.
JSON representation |
---|
{ "name": string, "displayName": string, "description": string, "documentation": { object ( |
Fields | |
---|---|
name |
Identifier. The name of the version. Format: |
displayName |
Required. The display name of the version. |
description |
Optional. The description of the version. |
documentation |
Optional. The documentation of the version. |
specs[] |
Output only. The specs associated with this version. Note that an API version can be associated with multiple specs. Format is |
apiOperations[] |
Output only. The operations contained in the API version. These operations will be added to the version when a new spec is added or when an existing spec is updated. Format is |
definitions[] |
Output only. The definitions contained in the API version. These definitions will be added to the version when a new spec is added or when an existing spec is updated. Format is |
deployments[] |
Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc) Format is |
createTime |
Output only. The time at which the version was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time at which the version was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
lifecycle |
Optional. The lifecycle of the API version. This maps to the following system defined attribute: |
compliance |
Optional. The compliance associated with the API version. This maps to the following system defined attribute: |
accreditation |
Optional. The accreditations associated with the API version. This maps to the following system defined attribute: |
attributes |
Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: An object containing a list of |
selectedDeployment |
Optional. The selected deployment for a Version resource. This can be used when special handling is needed on client side for a particular deployment linked to the version. Format is |
Methods |
|
---|---|
|
Create an API version for an API resource in the API hub. |
|
Delete an API version. |
|
Get details about the API version of an API resource. |
|
List API versions of an API resource in the API hub. |
|
Update API version. |