# Microcks API v1.7 API

> API offered by Microcks, the Kuebrnetes native tools for API and microservices mocking and testing (microcks.io)

Microcks API v1.7 is a development API from microcks.local. Requests are authenticated with OAuth. It is served over HTTPS. Its OpenAPI description documents 44 endpoints.

## At a glance

- Category: [Development](https://www.openparable.com/apis/category/development)
- Provider: microcks.local
- Authentication: OAuth
- HTTPS: Yes
- CORS: Not stated
- Base URL: http://microcks.local
- Documentation: https://github.com/microcks
- OpenAPI description: https://api.apis.guru/v2/specs/microcks.local/1.7.0/openapi.json
- Version: 1.7.0
- Specification updated: 2023-04-05

## Example request

```bash
curl -X GET "http://microcks.local/export" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

## Endpoints

- `POST /artifact/upload` — Upload an artifact
- `GET /export` — Export a snapshot
- `GET /features/config` — Get features configuration
- `POST /import` — Import a snapshot
- `GET /jobs` — Get ImportJobs
- `POST /jobs` — Create ImportJob
- `GET /jobs/count` — Get the ImportJobs counter
- `GET /jobs/{id}` — Get ImportJob
- `POST /jobs/{id}` — Update ImportJob
- `DELETE /jobs/{id}` — Delete ImportJob
- `PUT /jobs/{id}/activate` — Activate an ImportJob
- `PUT /jobs/{id}/start` — Start an ImportJob
- `PUT /jobs/{id}/stop` — Stop an ImportJob
- `GET /keycloak/config` — Get authentification configuration
- `GET /metrics/conformance/aggregate` — Get aggregation of conformance metrics
- `GET /metrics/conformance/service/{serviceId}` — Get conformance metrics for a Service
- `GET /metrics/invocations/global` — Get aggregated invocation statistics for a day
- `GET /metrics/invocations/global/latest` — Get aggregated invocations statistics for latest days
- `GET /metrics/invocations/top` — Get top invocation statistics for a day
- `GET /metrics/invocations/{serviceName}/{serviceVersion}` — Get invocation statistics for Service
- `GET /metrics/tests/latest` — Get latest tests results
- `GET /resources/service/{serviceId}` — Get Resources by Service
- `GET /resources/{name}` — Get Resource
- `GET /secrets` — Get Secrets
- `POST /secrets` — Create a new Secret
- `GET /secrets/count` — Get the Secrets counter
- `GET /secrets/{id}` — Get Secret
- `PUT /secrets/{id}` — Update Secret
- `DELETE /secrets/{id}` — Delete Secret
- `GET /services` — Get Services and APIs
- `GET /services/count` — Get the Services counter
- `GET /services/labels` — Get the already used labels for Services
- `GET /services/search` — Search for Services and APIs
- `GET /services/{id}` — Get Service
- `DELETE /services/{id}` — Delete Service
- `PUT /services/{id}/metadata` — Update Service Metadata
- `PUT /services/{id}/operation` — Override Service Operation
- `POST /tests` — Create a new Test
- `GET /tests/service/{serviceId}` — Get TestResults by Service
- `GET /tests/service/{serviceId}/count` — Get the TestResults for Service counter
- `GET /tests/{id}` — Get TestResult
- `GET /tests/{id}/events/{testCaseId}` — Get events for TestCase
- `GET /tests/{id}/messages/{testCaseId}` — Get messages for TestCase
- `POST /tests/{id}/testCaseResult` — Report and create a new TestCaseResult

## Questions

### Does the Microcks API v1.7 API need an API key?

Yes. The Microcks API v1.7 API uses OAuth authentication; the documentation explains how to get credentials.

### Does the Microcks API v1.7 API support HTTPS?

Yes, the Microcks API v1.7 API is served over HTTPS.

### How many endpoints does the Microcks API v1.7 API have?

Its OpenAPI description lists 44 endpoints in version 1.7.0. All of them are shown on this page.

### What are alternatives to the Microcks API v1.7 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/microcks-v1-7 (OpenParable). Cite the canonical URL above.
