{
  "opencollection": "1.0.0",
  "info": {
    "name": "The Things Stack — Application Server AppAs ApplicationPackageRegistry API",
    "version": "v3.36"
  },
  "items": [
    {
      "info": {
        "name": "ApplicationPackageRegistry",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List returns the available packages for the end device.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/as/applications/:application_ids.application_id/devices/:device_id/packages",
            "params": [
              {
                "name": "application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "device_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dev_eui",
                "value": "",
                "type": "query",
                "description": "The LoRaWAN DevEUI."
              },
              {
                "name": "join_eui",
                "value": "",
                "type": "query",
                "description": "The LoRaWAN JoinEUI (AppEUI until LoRaWAN 1.0.3 end devices)."
              },
              {
                "name": "dev_addr",
                "value": "",
                "type": "query",
                "description": "The LoRaWAN DevAddr."
              }
            ]
          },
          "docs": "List returns the available packages for the end device."
        },
        {
          "info": {
            "name": "DeleteDefaultAssociation removes the default association on the FPort of the application.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/as/applications/:application_ids.application_id/packages/associations/:f_port",
            "params": [
              {
                "name": "application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "f_port",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "DeleteDefaultAssociation removes the default association on the FPort of the application."
        },
        {
          "info": {
            "name": "SetAssociation updates or creates the association on the FPort of the end device.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/as/applications/:association.ids.end_device_ids.application_ids.application_id/devices/:association.ids.end_device_ids.device_id/packages/associations/:association.ids.f_port",
            "params": [
              {
                "name": "association.ids.end_device_ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "association.ids.end_device_ids.device_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "association.ids.f_port",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "SetAssociation updates or creates the association on the FPort of the end device."
        },
        {
          "info": {
            "name": "SetDefaultAssociation updates or creates the default association on the FPort of the application.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/as/applications/:default.ids.application_ids.application_id/packages/associations/:default.ids.f_port",
            "params": [
              {
                "name": "default.ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "default.ids.f_port",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "SetDefaultAssociation updates or creates the default association on the FPort of the application."
        },
        {
          "info": {
            "name": "DeleteAssociation removes the association on the FPort of the end device.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/as/applications/:end_device_ids.application_ids.application_id/devices/:end_device_ids.device_id/packages/associations/:f_port",
            "params": [
              {
                "name": "end_device_ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "end_device_ids.device_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "f_port",
                "value": "",
                "type": "path"
              },
              {
                "name": "end_device_ids.dev_eui",
                "value": "",
                "type": "query",
                "description": "The LoRaWAN DevEUI."
              },
              {
                "name": "end_device_ids.join_eui",
                "value": "",
                "type": "query",
                "description": "The LoRaWAN JoinEUI (AppEUI until LoRaWAN 1.0.3 end devices)."
              },
              {
                "name": "end_device_ids.dev_addr",
                "value": "",
                "type": "query",
                "description": "The LoRaWAN DevAddr."
              }
            ]
          },
          "docs": "DeleteAssociation removes the association on the FPort of the end device."
        },
        {
          "info": {
            "name": "ListAssociations returns all of the associations of the end device.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/as/applications/:ids.application_ids.application_id/devices/:ids.device_id/packages/associations",
            "params": [
              {
                "name": "ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "ids.device_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "ids.dev_eui",
                "value": "",
                "type": "query",
                "description": "The LoRaWAN DevEUI."
              },
              {
                "name": "ids.join_eui",
                "value": "",
                "type": "query",
                "description": "The LoRaWAN JoinEUI (AppEUI until LoRaWAN 1.0.3 end devices)."
              },
              {
                "name": "ids.dev_addr",
                "value": "",
                "type": "query",
                "description": "The LoRaWAN DevAddr."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Limit the number of results per page.\nEach page is ordered by the FPort."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination. 0 is interpreted as 1."
              },
              {
                "name": "field_mask",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "ListAssociations returns all of the associations of the end device."
        },
        {
          "info": {
            "name": "GetDefaultAssociation returns the default association registered on the FPort of the application.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/as/applications/:ids.application_ids.application_id/packages/associations/:ids.f_port",
            "params": [
              {
                "name": "ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "ids.f_port",
                "value": "",
                "type": "path"
              },
              {
                "name": "field_mask",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "GetDefaultAssociation returns the default association registered on the FPort of the application."
        },
        {
          "info": {
            "name": "ListDefaultAssociations returns all of the default associations of the application.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/as/applications/:ids.application_id/packages/associations",
            "params": [
              {
                "name": "ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Limit the number of results per page.\nEach page is ordered by the FPort."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination. 0 is interpreted as 1."
              },
              {
                "name": "field_mask",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "ListDefaultAssociations returns all of the default associations of the application."
        },
        {
          "info": {
            "name": "GetAssociation returns the association registered on the FPort of the end device.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/as/applications/:ids.end_device_ids.application_ids.application_id/devices/:ids.end_device_ids.device_id/packages/associations/:ids.f_port",
            "params": [
              {
                "name": "ids.end_device_ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "ids.end_device_ids.device_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "ids.f_port",
                "value": "",
                "type": "path"
              },
              {
                "name": "ids.end_device_ids.dev_eui",
                "value": "",
                "type": "query",
                "description": "The LoRaWAN DevEUI."
              },
              {
                "name": "ids.end_device_ids.join_eui",
                "value": "",
                "type": "query",
                "description": "The LoRaWAN JoinEUI (AppEUI until LoRaWAN 1.0.3 end devices)."
              },
              {
                "name": "ids.end_device_ids.dev_addr",
                "value": "",
                "type": "query",
                "description": "The LoRaWAN DevAddr."
              },
              {
                "name": "field_mask",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "GetAssociation returns the association registered on the FPort of the end device."
        }
      ]
    }
  ],
  "bundled": true
}