{ "opencollection": "1.0.0", "info": { "name": "Management Applications Metrics API", "version": "1" }, "items": [ { "info": { "name": "Metrics", "type": "folder" }, "items": [ { "info": { "name": "Count Events", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/search/~/count/events", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query", "description": "The start date, which can be absolute such as 2019-07-01T00:00:00Z or relative such as -24h" }, { "name": "to", "value": "", "type": "query", "description": "The end date, which can be absolute such as 2019-07-02T00:00:00Z or relative such as now" }, { "name": "track_total_hits", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Count Events" }, { "info": { "name": "Get an Event", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/search/~/events/:id", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" }, { "name": "event_time", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get an Event" }, { "info": { "name": "Search Events", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/search/~/search/events", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query", "description": "The start date, which can be absolute such as 2023-07-01T00:00:00Z or relative such as -24h" }, { "name": "to", "value": "", "type": "query", "description": "The end date, which can be absolute such as 2023-07-02T00:00:00Z or relative such as now" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Search Events" }, { "info": { "name": "Search Events in saved public Workspace", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/search/~/workspaces/:workspaceId/search", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query", "description": "The start date, which can be absolute such as 2023-07-01T00:00:00Z or relative such as -24h" }, { "name": "to", "value": "", "type": "query", "description": "The end date, which can be absolute such as 2023-07-02T00:00:00Z or relative such as now" }, { "name": "workspaceId", "value": "", "type": "path" }, { "name": "include_details", "value": "", "type": "query" }, { "name": "take", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Search Events in saved public Workspace" } ] } ], "bundled": true }