Get a specific gas station

GET /gas-stations/{id}

Returns an individual gas station

Path parameters

  • id string(uuid) Required

    Gas station ID

Responses

  • 200 application/vnd.api+json

    OK

    Hide headers attribute Show headers attribute
    • Expires string

      RFC 7234, section 5.3: Expires

    Hide response attributes Show response attributes object
    • data object
      Hide data attributes Show data attributes object
    • included array[object]
      One of:
      Hide attributes Show attributes
      • type string

        Fuel price

        Value is fuelPrice.

      • id string(uuid)

        Fuel Price ID

      • Hide attributes attributes Show attributes attributes object
        • fuelType string

          Fuel type for cars, based on the EU fuel marking

        • price number(decimal)

          per liter

        • currency string

          Currency as specified in ISO-4217.

          Format should match the following pattern: ^[A-Z]{3}$.

        • updatedAt string(date-time)

          Time of FuelPrices last update iso8601 with microseconds UTC