{
  "opencollection": "1.0.0",
  "info": {
    "name": "Rightsline Availability Templates API",
    "version": "v4"
  },
  "items": [
    {
      "info": {
        "name": "Templates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.rightsline.com/v4/templates/:entityType",
            "params": [
              {
                "name": "entityType",
                "value": "",
                "type": "path",
                "description": "Entity type (e.g., rights, royalties, contacts)"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve draft templates for a given entity type."
        },
        {
          "info": {
            "name": "Get Template",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.rightsline.com/v4/templates/:entityType/:templateId",
            "params": [
              {
                "name": "entityType",
                "value": "",
                "type": "path"
              },
              {
                "name": "templateId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve a specific template by ID with parent/child relationships and party data."
        }
      ]
    }
  ],
  "bundled": true
}