Skip to content

New shipment

POST/packages

Requires: Cookie fret_session / Bearer

Request body

application/jsonobjectrequired

  • linksstring[]required

    http(s) links; an entry may hold several, separated by whitespace.

  • namestring

    Empty: the file name for a single link; a shipment of several links stays unnamed

    ≤ 120 chars

  • dirstring

    Warehouse subfolder (without "..")

  • priorityPriority

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

  • passwordstring

    Protected links and archives

Responses

201CreatedPackage
  • 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)
400Errorobject
  • errorobject
    Fields · 2
    • codestring
    • messagestring
Built with Kiln