Packages

List packages given to lines

GET/management/user-packages/

read Read: looks, changes nothing. Scopes

Lines' package history, newest first, a page at a time: everything for a panel operator, what they gave for a reseller.

Query parameters

  • pageinteger

    A page number within the paginated result set.

  • page_sizeinteger

    Number of results to return per page.

Response

200 OK

  • countintegerrequired

    How many there are in all, on every page.

  • nextstring (uri)can be null

    The next page, or null on the last one.

  • previousstring (uri)can be null

    The page before, or null on the first one.

  • resultsobject[]required
    • idstring (uuid)requiredread-only
    • line_userstring (uuid)required

      Line user who received this package

    • line_user_usernamestringrequiredread-only
    • packagestring (uuid)required
    • package_namestringrequiredread-only
    • assigned_bystring (uuid)requiredread-onlycan be null

      Staff user who assigned this package

    • assigned_by_usernamestringrequiredread-only
    • assigned_atstring (date-time)requiredread-only
    • expires_atstring (date-time)required

      When this package expires for the user

    • is_activeboolean
    • is_expired_statusbooleanrequiredread-only

Errors

  • 401 No credential, or one that is wrong, expired or revoked.
  • 403 The account, or the key's or app's scopes, may not do this.
  • 429 Slow down: wait the seconds in the Retry-After header, then try again.

What each error means