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

Indian Institute of Technology Kanpur cities API

Manage cities

Indian Institute of Technology Kanpur cities API is one of 64 APIs that Indian Institute of Technology Kanpur publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include cities. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

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

Requests are made against a single base URL, https://libserv.iitk.ac.in/api/v1.

5 operations 2 paths 3 schemas 1 DELETE2 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1
Base URL
https://libserv.iitk.ac.in/cgi-bin/koha/oai.pl
License
Resource Areas
1

Paths & Operations 5

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

cities 5

Manage cities

GET
/cities
List cities
listCities 10 params body → 200400401403404500501503
POST
/cities
Add city
addCity body → 201400401403404500501503
DELETE
/cities/{city_id}
Delete city
deleteCity 1 param → 204400401403404500501503
GET
/cities/{city_id}
Get city
getCity 1 param → 200400401404500501503
PUT
/cities/{city_id}
Update city
updateCity 1 param body → 200400401403404500501503

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are city_yaml (5 properties), error_yaml (2 properties), DefaultResponse (1 property). Each schema is shown below with its type and property counts.

city_yaml
object
5 properties 4 required
error_yaml
object
2 properties
DefaultResponse
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

iit-kanpur-cities-api-openapi.yml Raw ↑

Other APIs Indian Institute of Technology Kanpur publishes across the network.

Indian Institute of Technology Kanpur 2fa API
Indian Institute of Technology Kanpur article_requests API
Indian Institute of Technology Kanpur authorised_value_categories API
Indian Institute of Technology Kanpur authorised_values API
Indian Institute of Technology Kanpur authorities API
Indian Institute of Technology Kanpur baskets API
Indian Institute of Technology Kanpur batch_import_profiles API
Indian Institute of Technology Kanpur biblios API
Indian Institute of Technology Kanpur bookings API
Indian Institute of Technology Kanpur cash_registers API
Indian Institute of Technology Kanpur cashups API
Indian Institute of Technology Kanpur checkouts API