{
  "opencollection": "1.0.0",
  "info": {
    "name": "The Things Stack — Application Server AppAs NsRelayConfigurationService API",
    "version": "v3.36"
  },
  "items": [
    {
      "info": {
        "name": "NsRelayConfigurationService",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a relay.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/ns/applications/:end_device_ids.application_ids.application_id/relays",
            "params": [
              {
                "name": "end_device_ids.application_ids.application_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create a relay."
        },
        {
          "info": {
            "name": "Get a relay.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/ns/applications/:end_device_ids.application_ids.application_id/relays/:end_device_ids.device_id",
            "params": [
              {
                "name": "end_device_ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "end_device_ids.device_id",
                "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."
              },
              {
                "name": "field_mask",
                "value": "",
                "type": "query",
                "description": "Field mask of the fields to return."
              }
            ]
          },
          "docs": "Get a relay."
        },
        {
          "info": {
            "name": "Update a relay.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/ns/applications/:end_device_ids.application_ids.application_id/relays/:end_device_ids.device_id",
            "params": [
              {
                "name": "end_device_ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "end_device_ids.device_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update a relay."
        },
        {
          "info": {
            "name": "Delete a relay.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/ns/applications/:end_device_ids.application_ids.application_id/relays/:end_device_ids.device_id",
            "params": [
              {
                "name": "end_device_ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "end_device_ids.device_id",
                "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": "Delete a relay."
        },
        {
          "info": {
            "name": "List uplink forwarding rules.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/ns/applications/:end_device_ids.application_ids.application_id/relays/:end_device_ids.device_id/uplink-forwarding-rules",
            "params": [
              {
                "name": "end_device_ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "end_device_ids.device_id",
                "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."
              },
              {
                "name": "field_mask",
                "value": "",
                "type": "query",
                "description": "Field mask of the fields to return."
              }
            ]
          },
          "docs": "List uplink forwarding rules."
        },
        {
          "info": {
            "name": "Create an uplink forwarding rule.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/ns/applications/:end_device_ids.application_ids.application_id/relays/:end_device_ids.device_id/uplink-forwarding-rules",
            "params": [
              {
                "name": "end_device_ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "end_device_ids.device_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create an uplink forwarding rule."
        },
        {
          "info": {
            "name": "Get an uplink forwarding rule.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/ns/applications/:end_device_ids.application_ids.application_id/relays/:end_device_ids.device_id/uplink-forwarding-rules/:index",
            "params": [
              {
                "name": "end_device_ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "end_device_ids.device_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "index",
                "value": "",
                "type": "path",
                "description": "Index of the uplink forwarding rule."
              },
              {
                "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."
              },
              {
                "name": "field_mask",
                "value": "",
                "type": "query",
                "description": "Field mask of the fields to return."
              }
            ]
          },
          "docs": "Get an uplink forwarding rule."
        },
        {
          "info": {
            "name": "Update an uplink forwarding rule.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/ns/applications/:end_device_ids.application_ids.application_id/relays/:end_device_ids.device_id/uplink-forwarding-rules/:index",
            "params": [
              {
                "name": "end_device_ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "end_device_ids.device_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "index",
                "value": "",
                "type": "path",
                "description": "Index of the uplink forwarding rule."
              }
            ]
          },
          "docs": "Update an uplink forwarding rule."
        },
        {
          "info": {
            "name": "Delete an uplink forwarding rule.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/ns/applications/:end_device_ids.application_ids.application_id/relays/:end_device_ids.device_id/uplink-forwarding-rules/:index",
            "params": [
              {
                "name": "end_device_ids.application_ids.application_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "end_device_ids.device_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "index",
                "value": "",
                "type": "path",
                "description": "Index of the uplink forwarding rule."
              },
              {
                "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": "Delete an uplink forwarding rule."
        }
      ]
    }
  ],
  "bundled": true
}