v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1351142229.7 KB
projects

Collect API data from a source and push it to Hub's collect layer.

post/v1/{+location}:collectApiData

Path parameters

locationstring required

Required. The regional location of the API hub instance and its resources. Format: projects/{project}/locations/{location}

Request body

actionIdstring

Required. The action ID to be used for collecting the API data. This should map to one of the action IDs specified in action configs in the plugin.

pluginInstancestring

Required. The plugin instance collecting the API data. Format: projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}.

collectionType'COLLECTION_TYPE_UNSPECIFIED' | 'COLLECTION_TYPE_UPSERT' | 'COLLECTION_TYPE_DELETE'

Required. The type of collection. Applies to all entries in api_data.

Response

Successful response