{ "opencollection": "1.0.0", "info": { "name": "Pydantic API Discovery Alerts Instance API", "version": "1.0.0" }, "items": [ { "info": { "name": "Instance", "type": "folder" }, "items": [ { "info": { "name": "List Instance Organizations", "type": "http" }, "http": { "method": "GET", "url": "https://pydantic.dev/api/v1/v1/instance/organizations/" }, "docs": "List all organizations across the self-hosted instance." }, { "info": { "name": "Create Instance Organization", "type": "http" }, "http": { "method": "POST", "url": "https://pydantic.dev/api/v1/v1/instance/organizations/", "body": { "type": "json", "data": "{}" } }, "docs": "Create an organization owned by the token's user across the self-hosted instance." }, { "info": { "name": "List Instance Usage Report", "type": "http" }, "http": { "method": "GET", "url": "https://pydantic.dev/api/v1/v1/instance/usage-report/" }, "docs": "List completed monthly usage for all organizations in a self-hosted instance." }, { "info": { "name": "Get Group Mappings", "type": "http" }, "http": { "method": "GET", "url": "https://pydantic.dev/api/v1/v1/instance/group-mappings/" }, "docs": "Return the group-organization mapping currently stored in `platform_config` (self-hosted admin only)." }, { "info": { "name": "Update Group Mappings", "type": "http" }, "http": { "method": "PUT", "url": "https://pydantic.dev/api/v1/v1/instance/group-mappings/", "body": { "type": "json", "data": "{}" } }, "docs": "Replace the group-organization mapping stored in `platform_config` (self-hosted admin only).\n\nEvery `organization_name` and `project_name` in the payload must correspond to an existing\nrecord in the database; otherwise a 400 is returned." } ] } ], "bundled": true }