{ "opencollection": "1.0.0", "info": { "name": "Apigee API Hub Analytics Observation Jobs API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.google.com/o/oauth2/auth", "accessTokenUrl": "https://oauth2.googleapis.com/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Observation Jobs", "type": "folder" }, "items": [ { "info": { "name": "Apigee List Observation Jobs", "type": "http" }, "http": { "method": "GET", "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/observationJobs", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Google Cloud project ID." }, { "name": "locationId", "value": "", "type": "path", "description": "Google Cloud region or location." }, { "name": "pageSize", "value": "", "type": "query", "description": "Maximum number of items to return per page." }, { "name": "pageToken", "value": "", "type": "query", "description": "Page token returned from a previous list request." } ] }, "docs": "Lists all API observation jobs in the specified project and location. Observation jobs analyze network traffic to discover shadow APIs." }, { "info": { "name": "Apigee Create an Observation Job", "type": "http" }, "http": { "method": "POST", "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/observationJobs", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Google Cloud project ID." }, { "name": "locationId", "value": "", "type": "path", "description": "Google Cloud region or location." }, { "name": "observationJobId", "value": "", "type": "query", "description": "Required. The ID to use for the observation job." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new API observation job that analyzes network traffic to discover and catalog undocumented APIs operating in the specified infrastructure." }, { "info": { "name": "Apigee Get an Observation Job", "type": "http" }, "http": { "method": "GET", "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/observationJobs/:observationJobId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Google Cloud project ID." }, { "name": "locationId", "value": "", "type": "path", "description": "Google Cloud region or location." }, { "name": "observationJobId", "value": "", "type": "path", "description": "ID of the observation job." } ] }, "docs": "Gets details for a specific API observation job, including its state, configuration, and observation sources." }, { "info": { "name": "Apigee Delete an Observation Job", "type": "http" }, "http": { "method": "DELETE", "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/observationJobs/:observationJobId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Google Cloud project ID." }, { "name": "locationId", "value": "", "type": "path", "description": "Google Cloud region or location." }, { "name": "observationJobId", "value": "", "type": "path", "description": "ID of the observation job." } ] }, "docs": "Deletes an API observation job. The job must be disabled before it can be deleted." }, { "info": { "name": "Apigee Enable an Observation Job", "type": "http" }, "http": { "method": "POST", "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/observationJobs/:observationJobId:enable", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Google Cloud project ID." }, { "name": "locationId", "value": "", "type": "path", "description": "Google Cloud region or location." }, { "name": "observationJobId", "value": "", "type": "path", "description": "ID of the observation job." } ] }, "docs": "Enables a disabled observation job, resuming API traffic analysis and shadow API discovery." }, { "info": { "name": "Apigee Disable an Observation Job", "type": "http" }, "http": { "method": "POST", "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/observationJobs/:observationJobId:disable", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Google Cloud project ID." }, { "name": "locationId", "value": "", "type": "path", "description": "Google Cloud region or location." }, { "name": "observationJobId", "value": "", "type": "path", "description": "ID of the observation job." } ] }, "docs": "Disables an active observation job, pausing API traffic analysis." } ] } ], "bundled": true }