Skip to main content

Objs Query

POST 

/objs/query

Objs Query

Request

Body

required

    project_id Project Id (string)required

    The ID of the project to query

    filter

    object

    Filter criteria for the query. See ObjectVersionFilter

    anyOf

    base_object_classes

    object

    Filter objects by their base classes

    anyOf

  • Array [

  • string

  • ]

  • object_ids

    object

    Filter objects by their IDs

    anyOf

  • Array [

  • string

  • ]

  • is_op

    object

    Filter objects based on whether they are weave.ops or not. True will only return ops, False will return non-ops, and None will return all objects

    anyOf

    boolean

    latest_only

    object

    If True, return only the latest version of each object. False and None will return all versions

    anyOf

    boolean

    limit

    object

    Maximum number of results to return

    anyOf

    integer

    offset

    object

    Number of results to skip before returning

    anyOf

    integer

    sort_by

    object

    Sorting criteria for the query results. Currently only supports 'object_id' and 'created_at'.

    anyOf

  • Array [

  • field Field (string)required
    direction Direction (string)required

    Possible values: [asc, desc]

  • ]

  • metadata_only

    object

    If true, the val column is not read from the database and is empty.All other fields are returned.

    anyOf

    boolean

Responses

Successful Response

Schema

    objs

    object[]

    required

  • Array [

  • project_id Project Id (string)required
    object_id Object Id (string)required
    created_at date-timerequired

    deleted_at

    object

    anyOf

    string

    digest Digest (string)required
    version_index Version Index (integer)required
    is_latest Is Latest (integer)required
    kind Kind (string)required

    base_object_class

    object

    required

    anyOf

    string

    val Valrequired
  • ]

Loading...