swagger: "2.0"
schemes:
  - https
host: api-rv.herokuapp.com
basePath: /rv/v1
info:
  contact:
    email: ab.techwriter@gmail.com
    x-twitter: sheetlabs
  description: |
    # Introduction
    This API returns information about all of the verses in Rig Veda. The results are JSON objects that contain the name of the god, poet, and meter of the verses in Rig Veda, the category of the god and the poet, and the _mandal_ and _sukta_ number.

    The API uses the Swagger 2.0 specification.

    # Authentication
    This is an open API.

    # Try it out
    This sandbox can be used to get data for only one kind of resource, that is, to fetch the data for a category being sung to.

    The remaining resources work a similar fashion. For details, see the reference documentation.
  license:
    name: Distributed under the MIT license
    url: https://opensource.org/licenses/MIT
  title: rv API
  version: "1.2"
  x-apisguru-categories:
    - open_data
  x-logo:
    altText: Indica logo
    url: https://twitter.com/sheetlabs/profile_image?size=original
  x-origin:
    - format: swagger
      url: https://raw.githubusercontent.com/AninditaBasu/indica/master/rv_SDKs/rv.yaml
      version: "2.0"
  x-providerName: sheetlabs.com
  x-serviceName: rig-veda
externalDocs:
  description: Documentation
  url: https://aninditabasu.github.io/indica/
paths:
  /resources:
    get:
      parameters:
        - description: Click to select one of these available values.
          enum:
            - abstract
            - animal
            - demon male
            - divine female
            - divine human
            - divine male
            - human couple
            - human female
            - human male
            - human unborn
            - object
            - plant
          in: query
          name: sungforcategory
          required: true
          type: string
      responses:
        "200":
          description: Verses fetched.
        "404":
          description: No verses found.
      summary: Fetch all verses sung for a specific category of god, person, or object
