Skip to content

Full state of the dock

GET/queue

Requires: Cookie fret_session / Bearer

Responses

200OKobject
  • Fields · 4
    • Fields · 6
      • openboolean
      • slotsinteger

        1 to 20

      • speedLimitinteger

        bytes/s, 0 = unlimited

      • segmentsinteger

        1 to 16

      • Fields · 5
        • daysinteger[]

          ISO weekdays: 1 = Monday … 7 = Sunday

        • startstring
        • endstring
        • actionstring

          Allowed values: "close", "limit", "night"

        • speedLimitinteger

          bytes/s (limit action)

      • storeAfterinteger

        Hours before a delivered shipment is stored in the warehouse; 0 = never (24 by default)

        0 to 720

    • effectiveobject

      Settings in force, dock hours included

      Fields · 4
      • openboolean
      • speedLimitinteger
      • nightboolean
      • scheduledboolean
    • activeinteger

      Busy doors

    • speedinteger

      Total speed, bytes/s

  • packagesPackage[]
    Fields · 10
    • idinteger
    • namestring

      Empty for an unnamed shipment of several parcels: the client words it ("Shipment of 3 parcels")

    • dirstring
    • priorityPriority

      Allowed values: "express", "standard", "night"

    • positioninteger
    • heldboolean

      Collected, awaiting confirmation

    • sourcestring
    • createdAtstring (date-time)
    • storedAtstring (date-time) | null

      Stored in the warehouse; null while on the dock

    • filesFile[]
      Fields · 19
      • idinteger
      • numberstring
      • packageIdinteger
      • urlstring
      • namestring
      • subdirstring

        Place in a consignment's folder tree, inside the shipment's warehouse folder; empty at its root

      • sizeinteger

        -1 when unknown

      • receivedinteger
      • speedinteger

        bytes/s

      • hosterstring
      • debridstring
      • statusStatus

        Parcel status, see Statuses

        Allowed values: "queued", "resolving", "waiting", "downloading", "retrying", "paused", "verifying", "extracting", "finished", "offline", "corrupted", "duplicate"

      • errorstring
      • attemptsinteger
      • waitUntilstring (date-time) | null
      • unpackedboolean
      • unpackErrorstring
      • createdAtstring (date-time)
      • updatedAtstring (date-time)
Built with Kiln