Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

The Cat API Votes API

Cast and manage votes on cat images.

The Cat API Votes API is one of 5 APIs that The Cat API publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Votes. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a getting-started guide.

This API exposes 4 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://api.thecatapi.com/v1.

4 operations 2 paths 4 schemas 1 DELETE2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://api.thecatapi.com/v1
Authentication
API Key
Resource Areas
1

Authentication & Security 1

The Cat API Votes API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-api-key (ApiKeyHeader). By default, every request must be authenticated.

  • ApiKeyHeader — API key obtained by registering at https://thecatapi.com/signup

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Votes 4

Cast and manage votes on cat images.

GET
/votes
List Votes
listVotes 3 params → 200
POST
/votes
Create Vote
createVote body → 200400
GET
/votes/{vote_id}
Get Vote
getVote 1 param → 200
DELETE
/votes/{vote_id}
Delete Vote
deleteVote 1 param → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Breed (26 properties), Vote (8 properties), Image (6 properties), Category (2 properties). Each schema is shown below with its type and property counts.

Category
object
An image category tag.
2 properties 2 required
Image
object
A cat image with metadata.
6 properties 2 required
Vote
object
A vote cast on an image by a user.
8 properties 3 required
Breed
object
Information about a cat breed.
26 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

the-cat-api-votes-api-openapi.yml Raw ↑

Other APIs The Cat API publishes across the network.

The Cat API Breeds API
The Cat API Categories API
The Cat API Favourites API
The Cat API Images API