Schemas
  • 03 Sep 2024
  • 1 Minute to read
  • Contributors

    Schemas


      Article summary

      Request Headers

      Each request must include the following request headers:

      PropertyData TypeDescription
      Authorization*StringYour temporary Access Token obtained using the /authorize method
      Content-Type*
      String
      application/json

      Request Body Schemas

      Networks

      Networks contain information about the different Perimeter 81 networks within the platform.

      Network

      Network information. Found in NetworkList.

      PropertyData TypeDescription
      geoPoint*NetworkGeoPointNetwork geographical point information.
      name*StringName of network.
      isDefault*BooleanWhether network is the default (true).
      regions*Array of NetworkRegionList of network regions.
      id*StringID of network.

      NetworkGeoPoint

      Geographical point information. Found in Network and NetworkRegion.

      PropertyData TypeDescription
      __type*StringGeo point type. Private.
      latitude*NumberGeo point latitude.
      longitude*NumberGeo point longitude.

      NetworkInstance

      A network instance. Found in NetworkRegion.

      PropertyData TypeDescription
      tunnels*StringTunnels.
      id*StringID of instance.

      NetworkList

      List of networks. Response to GET /v1/networks.

      PropeertyData TypeDescription
      data*Array of NetworkList of networks.

      NetworkMeta

      Metadata for a network. Found in NetworkStatus.

      PropertyData TypeDescription
      networkId*StringID of network.
      instanceId*StringID of instance.
      tunnelName*StringName of tunnel

      NetworkProvider

      Provider of the network. Found in NetworkRegion.

      PropertyData TypeDescription
      region*StringProvider region.
      continentCode*StringProvider continent code.
      countryCode*StringProvider country code.

      NetworkRegion

      Network region. Found in Network.

      PropertyData TypeDescription
      geoPoint*NetworkGeoPointNetwork's geographical points.
      name*StringName of region.
      instances*Array of NetworkInstanceList of network instances.
      provider*NetworkProviderNetwork provider.
      id*StringID of region.



      Was this article helpful?