Fleet

Fleets owned by a partner

Returns all Fleets owned by a partner.

get/fleets

Request

Query parameters

pageSizeinteger

The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60]

pageTokenstring

Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server).

Response

Fleet list response

totalinteger required
totalPageinteger required
currentPageinteger required

Example response

{
  "_links": {
    "self": {
      "href": "http://example.com",
      "deprecation": "http://example.com"
    },
    "first": {
      "href": "http://example.com",
      "deprecation": "http://example.com"
    },
    "next": {
      "href": "http://example.com",
      "deprecation": "http://example.com"
    },
    "prev": {
      "href": "http://example.com",
      "deprecation": "http://example.com"
    },
    "last": {
      "href": "http://example.com",
      "deprecation": "http://example.com"
    }
  },
  "_embedded": {
    "fleets": [
      {
        "_links": {
          "self": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "vehicles": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "status": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "maintenances": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "alerts": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "trips": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "collisions": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "monitors": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "callbacks": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          }
        },
        "id": "0a123bc5d1e873066454b4d9"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.