Method: projects.locations.apis.versions.specs.artifacts.create

Stay organized with collections Save and categorize content based on your preferences.

Creates a specified artifact.

HTTP request

POST https://apigeeregistry.googleapis.com/v1/{parent=projects/*/locations/*/apis/*/versions/*/specs/*}/artifacts

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent, which owns this collection of artifacts. Format: {parent}

Query parameters

Parameters
artifactId

string

Required. The ID to use for the artifact, which will become the final component of the artifact's resource name.

This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

Following AIP-162, IDs must not have the form of a UUID.

Request body

The request body contains an instance of Artifact.

Response body

If successful, the response body contains a newly created instance of Artifact.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform