Network Availabilities

Properties

  • Name
    object
    Type
    string
    Description

    Type of object is always networkAvailability.

    Allowed values: networkAvailability 
  • Name
    availability
    Type
    array
    Description
    A list of availability details for the plans in the project.
    • Name
      plan
      Type
      string
      Description

      The unique identifier for the plan.

      Optional: This property may not always be included.
      Example: "pln_0SNlurA049MEWV3V0q7gjQbM4EVo"
    • Name
      provider
      Type
      string
      Description

      The ID of the network provider supported by this plan.

      Optional: This property may not always be included.
      Example: "p11"
    • Name
      technologies
      Type
      object
      Description

      The technologies supported by the network provider.

      Optional: This property may not always be included.
      Example: {"4G":{"strength":"good","minDecibelMilliwatts":-90},"5G":{"strength":"fair","minDecibelMilliwatts":-100}}
  • Name
    location
    Type
    object
    Description
    The location for which availability information is provided.
    • Name
      address
      Type
      NetworkAvailabilityAddress
      Status
      PREVIEW
      Description
      The address for which availability information is provided.
      Optional: This property may not always be included.
    • Name
      coordinates
      Type
      NetworkAvailabilityCoordinates
      Status
      PREVIEW
      Description
      The coordinates for which availability information is provided.
      Optional: This property may not always be included.

Example

{
  "object": "networkAvailability",
  "availability": [
    {
      "plan": "pln_0SNlurA049MEWV3V0q7gjQbM4EVo",
      "provider": "p11",
      "technologies": {
        "4G": {
          "strength": "good",
          "minDecibelMilliwatts": -90
        },
        "5G": {
          "strength": "fair",
          "minDecibelMilliwatts": -100
        }
      }
    }
  ],
  "location": {
    "address": {
      "city": "New York City",
      "country": "US",
      "line1": "129 West 81st Street",
      "line2": "Apartment 5",
      "postalCode": "10024",
      "state": "NY"
    },
    "coordinates": {
      "latitude": 40.7831,
      "longitude": -73.9712
    }
  }
}

POST/projects/{project}/networkAvailability/lookup

Lookup network availability by location

Looks up network availability information based on geographic coordinates (latitude/longitude) or address. Returns network availability data only for US locations.

Body

  • Name
    address
    Type
    NetworkAvailabilityAddress
    Status
    PREVIEW
    Description
    The address for which availability information is provided.
  • Name
    coordinates
    Type
    NetworkAvailabilityCoordinates
    Status
    PREVIEW
    Description
    The coordinates for which availability information is provided.
    • Name
      latitude
      Type
      number
      Description

      The latitude coordinate for which availability information is provided.

      Example: 40.7831
      >= -90
      <= 90
    • Name
      longitude
      Type
      number
      Description

      The longitude coordinate for which availability information is provided.

      Example: -73.9712
      >= -180
      <= 180

Path Parameters

  • Name
    project
    Type
    string
    required
    Description

    The unique identifier for the project.

    Example: "gigs"

Responses

Returns the network availability data with location.

  • Name
    object
    Type
    string
    Description

    Type of object is always networkAvailability.

    Allowed values: networkAvailability 
  • Name
    availability
    Type
    array
    Description
    A list of availability details for the plans in the project.
    • Name
      plan
      Type
      string
      Description

      The unique identifier for the plan.

      Optional: This property may not always be included.
      Example: "pln_0SNlurA049MEWV3V0q7gjQbM4EVo"
    • Name
      provider
      Type
      string
      Description

      The ID of the network provider supported by this plan.

      Optional: This property may not always be included.
      Example: "p11"
    • Name
      technologies
      Type
      object
      Description

      The technologies supported by the network provider.

      Optional: This property may not always be included.
      Example: {"4G":{"strength":"good","minDecibelMilliwatts":-90},"5G":{"strength":"fair","minDecibelMilliwatts":-100}}
  • Name
    location
    Type
    object
    Description
    The location for which availability information is provided.
    • Name
      address
      Type
      NetworkAvailabilityAddress
      Status
      PREVIEW
      Description
      The address for which availability information is provided.
      Optional: This property may not always be included.
    • Name
      coordinates
      Type
      NetworkAvailabilityCoordinates
      Status
      PREVIEW
      Description
      The coordinates for which availability information is provided.
      Optional: This property may not always be included.

Request

POST
/projects/{project}/networkAvailability/lookup
curl https://api.gigs.com/projects/${GIGS_PROJECT}/networkAvailability/lookup \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${GIGS_TOKEN}" \
-H "Accept: application/json" \
-d '{
  "address": {
    "city": "New York City",
    "country": "US",
    "line1": "129 West 81st Street",
    "line2": "Apartment 5",
    "postalCode": "10024",
    "state": "NY"
  },
  "coordinates": {
    "latitude": 40.7831,
    "longitude": -73.9712
  }
}'

Responses

{
  "object": "networkAvailability",
  "availability": [
    {
      "plan": "pln_0SNlurA049MEWV3V0q7gjQbM4EVo",
      "provider": "p11",
      "technologies": {
        "4G": {
          "strength": "good",
          "minDecibelMilliwatts": -90
        },
        "5G": {
          "strength": "fair",
          "minDecibelMilliwatts": -100
        }
      }
    }
  ],
  "location": {
    "address": {
      "city": "New York City",
      "country": "US",
      "line1": "129 West 81st Street",
      "line2": "Apartment 5",
      "postalCode": "10024",
      "state": "NY"
    },
    "coordinates": {
      "latitude": 40.7831,
      "longitude": -73.9712
    }
  }
}