{
  "opencollection": "1.0.0",
  "info": {
    "name": "TreasurySpring Public Calendar Entities API",
    "version": "v0.7.3"
  },
  "items": [
    {
      "info": {
        "name": "Entities",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a list of all entities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.treasuryspring.com/api/v1/entity",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves a list of all entities that the user has permission to view."
        },
        {
          "info": {
            "name": "Get a single entity by entity code",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.treasuryspring.com/api/v1/entity/:code",
            "params": [
              {
                "name": "code",
                "value": "",
                "type": "path",
                "description": "Entity code"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves data for a single Entity if the user has permission to view it."
        },
        {
          "info": {
            "name": "List all users and permissions for an entity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.treasuryspring.com/api/v1/entity/:code/permissions",
            "params": [
              {
                "name": "code",
                "value": "",
                "type": "path",
                "description": "Entity code"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves a list of all users who have access to an entity and the permissions they have."
        }
      ]
    }
  ],
  "bundled": true
}