projects
Create an API resource in the API hub. Once an API resource is created, versions can be added to it.
post/v1/{+parent}/apis
Path parameters
parentstring required
Required. The parent resource for the API resource. Format: projects/{project}/locations/{location}
Query parameters
apiIdstring
Optional. The ID to use for the API resource, which will become the final component of the API's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another API resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/.
Request body
Response
Successful response