Skip to main content

GetFileSize

HEAD 

/location/agps

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Use HEAD /location/agnss (GNSS GetAssistanceDataSize) instead.

This endpoint is for advanced use cases where you need to set the Range header to something other than the payload size. Normally you will just set the Range header to the payload limit for your modem. It gets the payload size of the modem parameters. This endpoint returns the totalBytes in the Content-Length response header, no body. The Content-Length header in the response can be used in the Range header for a subsequent GET request (same query string, just GET instead of HEAD + Range header).

curl -I "$API_HOST/v1/location/agps" -H "Authorization: Bearer $JWT"

Type definitions:

  • 1 = GPS UTC
  • 2 = GPS Ephemerides
  • 3 = GPS Almanac
  • 4 = Klobuchar Ionospheric Correction
  • 5 = Nequick Ionospheric Correction
  • 6 = GPS Time of Week
  • 7 = GPS System Clock
  • 8 = Location (lat/lon of cell)
  • 9 = GPS Integrity

Request​

Responses​

Body is empty. Response "Content-Length" header contains the size of the file (bytes).