Skip to main content

Search objects in project

POST 

/projects/:sceneId/search

Returns subset of objects matched complicated search criterias with optional continuation token if needed

Request

Path Parameters

    sceneId stringrequired

Body

    path stringnullable

    Path to search start from.

    descendants int32nullable

    How many generations of descendants to include in search.

    search

    object[]

    nullable

    Property pattern to search for.

  • Array [

  • property stringnullable

    Property name to find.

    value string[]nullable

    Value to find.

    exact booleannullable

    Require exact match or not.

    exclude booleannullable

    Exclude this match from result.

    range

    object

    Values range

    min stringnullable

    Minimal value.

    max stringnullable

    Maxumum value.

    planes array[]nullable

    Clipping planes.

    Example: [[1,0,0,0],[0,1,0,0]]
  • ]

  • full booleannullable

    Preload all matching objects.

    continuation stringnullable

    Continuation token.

Responses

Success

Schema

    results

    object[]

    required

    Search results array.

    Depending on "full" request param:

    true - Server.Models.ObjectMetadata,

    false/undefined - Server.Models.ObjectReference

  • Array [

  • oneOf

    Object's reference.

    id int64required

    Object id in database

    Example: 1234
    path stringrequired

    Object path in hierarchy

    Example: Path0/Subpath0/ObjectName
    type NodeType (string)required

    Object hierarchy node type.

    Possible values: [Internal, Leaf]

    bounds

    object

    Object's bounding volume.

    box

    object

    required

    Axis-aligned bounding box

    min double[]required

    minimum coordinates

    Example: [-1,-1,-1]
    max double[]required

    maximum coordinates

    Example: [1,1,1]

    sphere

    object

    required

    Bounding sphere

    center double[]required

    Sphere center.

    Example: [0,0,0]
    radius doublerequired

    Sphere radius.

    Example: 1
  • ]

  • continuation stringnullable

    Continuation token

Loading...