Usage Reporting

GET /products/{product_pk}/usage/rules

Changed on

Request

  • Base URL
    https://api.connect.cloudblue.com/public/v1
  • Auth
    API key in header Authorization

Path parameters

product_pkstring required

Query parameters

limitinteger

Number of results to return per page.

offsetinteger

The initial index from which to return the results.

action'accept' | 'reject' | 'manual'

Filter for: action

lookups: eq, ne, like, ilike, in, out

search: true

idstring

Filter for: id

lookups: eq, ne, like, ilike, null, in, out

search: true

item.idstring

Filter for: item.id

lookups: eq, ne, like, ilike, null, in, out

search: true

ordering: true

item.namestring

Filter for: item.name

lookups: eq, ne, like, ilike, null, in, out

search: true

rulestring

Filter for: rule

lookups: eq, ne, like, ilike, null, in, out

search: true

scope'record' | 'file'

Filter for: scope

lookups: eq, ne, like, ilike, in, out

search: true

status'active' | 'deleted'

Filter for: status

lookups: eq, ne, like, ilike, in, out

search: true

Headers

Content-RangeContentRange (unresolved $ref)

RQL RFC2616 limit offset pagination.

Response

idstring
action'accept' | 'reject' | 'manual'
scopestring
rulestring nullable
status'active' | 'deleted'
item_idstring
item_namestring
product_idstring
account_idstring
created_bystring
updated_bystring

Changes

    • breaking

      the response's property type changed from no type to object for status

    • info

      added the new optional query request parameter limit

    • info

      added the new optional query request parameter offset

    • info

      added the media type application/json for the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional write-only property items/account_id to the response with the status

    • info

      added the optional write-only property items/created_by to the response with the status

    • info

      added the optional write-only property items/item_id to the response with the status

    • info

      added the optional write-only property items/item_name to the response with the status

    • info

      added the optional write-only property items/product_id to the response with the status

    • info

      added the optional write-only property items/updated_by to the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      the response's property type changed from object to no type for status

    • warning

      deleted the query request parameter limit

    • warning

      deleted the query request parameter offset

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      removed the optional write-only property items/account_id from the response with the status

    • info

      removed the optional write-only property items/created_by from the response with the status

    • info

      removed the optional write-only property items/item_id from the response with the status

    • info

      removed the optional write-only property items/item_name from the response with the status

    • info

      removed the optional write-only property items/product_id from the response with the status

    • info

      removed the optional write-only property items/updated_by from the response with the status