equipment

Viewset that supports all normal viewset functionality.

get/api/equipment/building/

Request

  • The document declares no server URL.
  • Auth: none declared

Query parameters

integer
OR
string

One id, or several comma-separated ids. A single id may ride as a number (?customer=12); more than one, and an id list restored from a shared address, is the comma-joined string, where a comma inside an item is escaped ,.

createdstring
integer
OR
string

One id, or several comma-separated ids. A single id may ride as a number (?customer=12); more than one, and an id list restored from a shared address, is the comma-joined string, where a comma inside an item is escaped ,.

modifiedstring
namestring
orderingstring[]

Fields to sort by, in order of precedence. Prefix a field with - for descending.

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page. Capped at 1000: a larger value is clamped, not rejected.

qstring

A search term.

Response

countinteger
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

Changes

    • info

      query request parameter branch list-of-types was widened by adding types integer

    • info

      query request parameter customer list-of-types was widened by adding types integer

    • info

      for the query request parameter branch, the type was generalized from string to no type

    • info

      for the query request parameter customer, the type was generalized from string to no type

    • info

      added the new optional query request parameter created

    • info

      added the new optional query request parameter modified

    • info

      added the new optional query request parameter name

    • info

      added the new optional query request parameter ordering

    • info

      for the query request parameter branch, the type was generalized from integer to string

    • info

      for the query request parameter customer, the type was generalized from integer to string