Indian Institute of Technology Bombay Bans API

The bans API from Indian Institute of Technology Bombay — 2 operation(s) for bans.

Operations 6

GET /bans/ Bans list #
POST /bans/ Bans create #
GET /bans/{id}/ Bans read #
PUT /bans/{id}/ Bans update #
PATCH /bans/{id}/ Bans update #
DELETE /bans/{id}/ Bans delete #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/iit-bombay-bans-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

iit-bombay-bans-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: InstiApp Bans API
  description: InstiApp IIT Bombay API
  termsOfService: https://insti.app/tos.html
  contact:
    email: devcom@iitb.ac.in
  license:
    name: AGPLv3
  version: v1
servers:
- url: https://gymkhana.iitb.ac.in/instiapp/api
security:
- Basic: []
tags:
- name: bans
paths:
  /bans/:
    parameters: []
    get:
      operationId: bans_list
      description: List all the banned Accounts.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SSOBans'
      tags:
      - bans
      summary: Bans list
      x-summary-source: derived
    post:
      operationId: bans_create
      description: ''
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SSOBans'
      tags:
      - bans
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SSOBans'
        required: true
      summary: Bans create
      x-summary-source: derived
  /bans/{id}/:
    parameters:
    - name: id
      in: path
      description: A UUID string identifying this sso ban.
      required: true
      schema:
        type: string
        format: uuid
    get:
      operationId: bans_read
      description: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SSOBans'
      tags:
      - bans
      summary: Bans read
      x-summary-source: derived
    put:
      operationId: bans_update
      description: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SSOBans'
      tags:
      - bans
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SSOBans'
        required: true
      summary: Bans update
      x-summary-source: derived
    patch:
      operationId: bans_update
      description: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SSOBans'
      tags:
      - bans
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SSOBans'
        required: true
      summary: Bans update
      x-summary-source: derived
    delete:
      operationId: bans_delete
      description: ''
      responses:
        '204':
          description: ''
      tags:
      - bans
      summary: Bans delete
      x-summary-source: derived
components:
  schemas:
    UserProfile:
      type: object
      properties:
        id:
          title: Id
          type: string
          format: uuid
          readOnly: true
        name:
          title: Name
          type: string
          maxLength: 50
        profile_pic:
          title: Profile pic
          type:
          - string
          - 'null'
          format: uri
          maxLength: 200
        ldap_id:
          title: Ldap id
          type:
          - string
          - 'null'
          maxLength: 50
    SSOBans:
      required:
      - banned_by
      - reason
      - duration_of_ban
      type: object
      properties:
        id:
          title: Id
          type: string
          format: uuid
        banned_by:
          $ref: '#/components/schemas/UserProfile'
        time_of_creation:
          title: Time of creation
          type: string
          format: date-time
          readOnly: true
        reason:
          title: Reason
          type: string
          enum:
          - IDF
          - Buy&Sell
          - 'Graduated '
          - InstiBan
        detailed_reason:
          title: Detailed reason
          type: string
        duration_of_ban:
          title: Duration of ban
          type: string
          enum:
          - 1 month
          - 3 months
          - 6 months
          - 12 months
          - Permanent
        banned_user_ldapid:
          title: Banned user ldapid
          type:
          - string
          - 'null'
          maxLength: 20
        banned_user:
          title: Banned user
          type:
          - string
          - 'null'
          format: uuid
  securitySchemes:
    Basic:
      type: http
      scheme: basic