{
  "opencollection": "1.0.0",
  "info": {
    "name": "Badgr Assertions Collections API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://api.badgr.io/o/authorize",
      "accessTokenUrl": "https://api.badgr.io/o/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Collections",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List the earner's collections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.badgr.io/v2/backpack/collections"
          },
          "docs": "List the earner's collections"
        },
        {
          "info": {
            "name": "Create a collection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.badgr.io/v2/backpack/collections",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a collection"
        },
        {
          "info": {
            "name": "Get a collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.badgr.io/v2/backpack/collections/:entityId",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a collection"
        },
        {
          "info": {
            "name": "Update a collection",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.badgr.io/v2/backpack/collections/:entityId",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update a collection"
        },
        {
          "info": {
            "name": "Delete a collection",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.badgr.io/v2/backpack/collections/:entityId",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a collection"
        },
        {
          "info": {
            "name": "Create a public share URL for a collection",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.badgr.io/v2/backpack/share/collection/:entityId",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create a public share URL for a collection"
        }
      ]
    }
  ],
  "bundled": true
}