# Otoroshi Admin API API

> Admin API of the Otoroshi reverse proxy.

Otoroshi Admin API is a development API from maif.local. Requests are authenticated with HTTP Basic auth. It is served over HTTPS. Its OpenAPI description documents 102 endpoints.

## At a glance

- Category: [Development](https://www.openparable.com/apis/category/development)
- Provider: maif.local
- Authentication: HTTP Basic
- HTTPS: Yes
- CORS: Not stated
- Base URL: http://otoroshi-api.oto.tools/
- Documentation: https://maif.github.io/otoroshi/
- OpenAPI description: https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/openapi.json
- Version: 1.5.0-dev
- Specification updated: 2021-06-30

## Example request

```bash
curl -X GET "http://otoroshi-api.oto.tools/api/apikeys" \
  -H "Accept: application/json" \
  -H "Authorization: Basic BASE64_USER_PASSWORD"
```

## Endpoints

- `GET /api/apikeys` — Get all api keys
- `GET /api/auths` — Get all global auth. module configs
- `POST /api/auths` — Create one global auth. module config
- `GET /api/auths/{id}` — Get one global auth. module configs
- `PUT /api/auths/{id}` — Update one global auth. module config
- `PATCH /api/auths/{id}` — Update one global auth. module config
- `DELETE /api/auths/{id}` — Delete one global auth. module config
- `GET /api/certificates` — Get all certificates
- `POST /api/certificates` — Create one certificate
- `GET /api/certificates/{id}` — Get one certificate by id
- `PUT /api/certificates/{id}` — Update one certificate by id
- `PATCH /api/certificates/{id}` — Update one certificate by id
- `DELETE /api/certificates/{id}` — Delete one certificate by id
- `GET /api/client-validators` — Get all validation authoritiess
- `POST /api/client-validators` — Create one validation authorities
- `GET /api/client-validators/{id}` — Get one validation authorities by id
- `PUT /api/client-validators/{id}` — Update one validation authorities by id
- `PATCH /api/client-validators/{id}` — Update one validation authorities by id
- `DELETE /api/client-validators/{id}` — Delete one validation authorities by id
- `GET /api/data-exporter-configs` — Get all data exporter configs
- `POST /api/data-exporter-configs` — Create a new data exporter config
- `POST /api/data-exporter-configs/_bulk` — Create a new data exporter configs
- `PUT /api/data-exporter-configs/_bulk` — Update a data exporter configs
- `PATCH /api/data-exporter-configs/_bulk` — Update a data exporter configs with a diff
- `DELETE /api/data-exporter-configs/_bulk` — Delete a data exporter config
- `GET /api/data-exporter-configs/_template` — Get all data exporter configs
- `GET /api/data-exporter-configs/{dataExporterConfigId}` — Get a data exporter config
- `PUT /api/data-exporter-configs/{dataExporterConfigId}` — Update a data exporter config
- `PATCH /api/data-exporter-configs/{dataExporterConfigId}` — Update a data exporter config with a diff
- `DELETE /api/data-exporter-configs/{dataExporterConfigId}` — Delete a data exporter config
- `GET /api/globalconfig` — Get the full configuration of Otoroshi
- `PUT /api/globalconfig` — Update the global configuration
- `PATCH /api/globalconfig` — Update the global configuration with a diff
- `GET /api/groups` — Get all service groups
- `POST /api/groups` — Create a new service group
- `GET /api/groups/{groupId}/apikeys` — Get all api keys for the group of a service
- `POST /api/groups/{groupId}/apikeys` — Create a new api key for a group
- `GET /api/groups/{groupId}/apikeys/{clientId}` — Get an api key
- `PUT /api/groups/{groupId}/apikeys/{clientId}` — Update an api key
- `PATCH /api/groups/{groupId}/apikeys/{clientId}` — Update an api key with a diff
- `DELETE /api/groups/{groupId}/apikeys/{clientId}` — Delete an api key
- `GET /api/groups/{groupId}/apikeys/{clientId}/quotas` — Get the quota state of an api key
- `DELETE /api/groups/{groupId}/apikeys/{clientId}/quotas` — Reset the quota state of an api key
- `GET /api/groups/{serviceGroupId}` — Get a service group
- `PUT /api/groups/{serviceGroupId}` — Update a service group
- `PATCH /api/groups/{serviceGroupId}` — Update a service group with a diff
- `DELETE /api/groups/{serviceGroupId}` — Delete a service group
- `GET /api/groups/{serviceGroupId}/services` — Get all services descriptor for a group
- `POST /api/import` — Import the full state of Otoroshi as a file
- `GET /api/live` — Get global otoroshi stats
- `GET /api/live/{id}` — Get live feed of otoroshi stats
- `GET /api/otoroshi.json` — Export the full state of Otoroshi
- `POST /api/otoroshi.json` — Import the full state of Otoroshi
- `GET /api/scripts` — Get all scripts
- `POST /api/scripts` — Create a new script
- `POST /api/scripts/_compile` — Compile a script
- `GET /api/scripts/{scriptId}` — Get a script
- `PUT /api/scripts/{scriptId}` — Update a script
- `PATCH /api/scripts/{scriptId}` — Update a script with a diff
- `DELETE /api/scripts/{scriptId}` — Delete a script
- `GET /api/services` — Get all services
- `POST /api/services` — Create a new service descriptor
- `GET /api/services/{serviceId}` — Get a service descriptor
- `PUT /api/services/{serviceId}` — Update a service descriptor
- `PATCH /api/services/{serviceId}` — Update a service descriptor with a diff
- `DELETE /api/services/{serviceId}` — Delete a service descriptor
- `GET /api/services/{serviceId}/apikeys` — Get all api keys for the group of a service
- `POST /api/services/{serviceId}/apikeys` — Create a new api key for a service
- `GET /api/services/{serviceId}/apikeys/{clientId}` — Get an api key
- `PUT /api/services/{serviceId}/apikeys/{clientId}` — Update an api key
- `PATCH /api/services/{serviceId}/apikeys/{clientId}` — Update an api key with a diff
- `DELETE /api/services/{serviceId}/apikeys/{clientId}` — Delete an api key
- `GET /api/services/{serviceId}/apikeys/{clientId}/group` — Get the group of an api key
- `GET /api/services/{serviceId}/apikeys/{clientId}/quotas` — Get the quota state of an api key
- `DELETE /api/services/{serviceId}/apikeys/{clientId}/quotas` — Reset the quota state of an api key
- `GET /api/services/{serviceId}/targets` — Get a service descriptor targets
- `POST /api/services/{serviceId}/targets` — Add a target to a service descriptor
- `PATCH /api/services/{serviceId}/targets` — Update a service descriptor targets
- `DELETE /api/services/{serviceId}/targets` — Delete a service descriptor target
- `GET /api/services/{serviceId}/template` — Get a service descriptor error template
- `POST /api/services/{serviceId}/template` — Create a service descriptor error template
- `PUT /api/services/{serviceId}/template` — Update an error template to a service descriptor
- `DELETE /api/services/{serviceId}/template` — Delete a service descriptor error template
- `POST /api/snowmonkey/_start` — Start the Snow Monkey
- `POST /api/snowmonkey/_stop` — Stop the Snow Monkey
- `GET /api/snowmonkey/config` — Get current Snow Monkey config
- `PUT /api/snowmonkey/config` — Update current Snow Monkey config
- `PATCH /api/snowmonkey/config` — Update current Snow Monkey config
- `GET /api/snowmonkey/outages` — Get all current Snow Monkey ourages
- `DELETE /api/snowmonkey/outages` — Reset Snow Monkey Outages for the day
- `GET /api/verifiers` — Get all global JWT verifiers
- `POST /api/verifiers` — Create one global JWT verifiers
- `GET /api/verifiers/{verifierId}` — Get one global JWT verifiers
- `PUT /api/verifiers/{verifierId}` — Update one global JWT verifiers
- `PATCH /api/verifiers/{verifierId}` — Update one global JWT verifiers
- `DELETE /api/verifiers/{verifierId}` — Delete one global JWT verifiers
- `GET /health` — Return current Otoroshi health
- `GET /lines` — Get all environments
- `GET /lines/{line}/services` — Get all services for an environment
- `GET /new/apikey` — Get a template of an Otoroshi Api Key

## Questions

### Does the Otoroshi Admin API API need an API key?

Yes. The Otoroshi Admin API API uses HTTP Basic authentication; the documentation explains how to get credentials.

### Does the Otoroshi Admin API API support HTTPS?

Yes, the Otoroshi Admin API API is served over HTTPS.

### How many endpoints does the Otoroshi Admin API API have?

Its OpenAPI description lists 102 endpoints in version 1.5.0-dev. The first 100 are shown on this page.

### What are alternatives to the Otoroshi Admin API API?

Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.

## Similar development APIs

- [Cloudflare](https://www.openparable.com/apis/cloudflare): Manage DNS, CDN, Workers and other services; documented with an official OpenAPI 3.0 spec
- [Azure DevOps](https://www.openparable.com/apis/azure-devops): The Azure DevOps basic components of a REST API request/response pair
- [IPify](https://www.openparable.com/apis/ipify): A simple IP Address API
- [App Store Connect API](https://www.openparable.com/apis/app-store-connect): The data structure that represents an app store connect api resource.
- [StackExchange](https://www.openparable.com/apis/stackexchange): Q&A forum for developers
- [IPinfo](https://www.openparable.com/apis/ipinfo): Another simple IP Address API
- [IBM Text to Speech](https://www.openparable.com/apis/ibm-text-to-speech): Convert text to speech
- [SiteIntel](https://www.openparable.com/apis/siteintel): Extract metadata, tech stack, emails, and screenshots from any URL
- [DigitalOcean Status](https://www.openparable.com/apis/digitalocean-status): Status of all DigitalOcean services
- [Netlify](https://www.openparable.com/apis/netlify): Netlify is a hosting service for the programmable web
- [Docker Hub](https://www.openparable.com/apis/docker-hub): Interact with Docker Hub
- [MineSkin API](https://www.openparable.com/apis/mineskin): Client implementations: Java: https://github.com/InventivetalentDev/MineskinClient NodeJS: https://github.com/InventivetalentDev/mineskin-client Examples: https://github.com/MineSkin/examples

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/otoroshi-admin (OpenParable). Cite the canonical URL above.
