Glass API – Section List of search parameters

Endpoint /stations/v2/list/{data}

This endpoint returns information to the user in the database about one of the criteria chosen in the “data” parameter. Only this parameter is mandatory, if the format parameter is not filled in then the default is json. Furthermore, there is another station_data parameter that should only be used when choosing data:station, which is used to return stations that contain at least one rinex file.

data

The type of data required

  • agency
  • antenna
  • city
  • country
  • files_type
  • network
  • radome
  • receiver
  • state
  • station -> station_data:true
format

The format of the response

  • json
  • list

Endpoint /stations/v2/list/station

This endpoint simply returns the stations in the database and has some optional parameters that allow filtering of the stations presented. All parameters are optional and when several are filled in, these parameters are intersected.

epos

Whether the station belongs to the EPOS network or not

  • epos
  • non-epos
marker

The 4 marker of the station

  • HERO
  • ABBS
markerlongname

The 9 marker of the station

  • HERO00GBR
  • CASC00PRT
name

The name of the station

  • Alcanices
  • BOROWIEC
Example Links
  • https://glass.c4g-pt.eu/GlassFramework/webresources/stations/v2/list/station
  • https://glass.c4g-pt.eu/GlassFramework/webresources/stations/v2/list/station?markerlongname=CASC00PRT
Error Explanation
Code 200
  • Ok -> Everything went well and results returned
Code 400
  • Bad Request -> Check the entered parameters;Verifies that the API server link is correct; Checks the entered parameters.; If everything above is fine, then the API may not be working.