POST
Search the library (files and drawings together)

Authorizations

Authorization
string
header
required

Obtain a token via POST /api/v1/oauth/token (password grant) and send it as Authorization: Bearer <token>.

Query Parameters

database
string
required
page
integer
default:0

Zero-based page number. page * size may not exceed 10,000.

Required range: x >= 0
size
integer
default:20

Results per page.

Required range: x >= 1

Body

application/json
type
enum<string>

One kind only. Leave out for files and drawings together.

Available options:
file,
map
groupid
string

Only files in this file group.

searchByName
string

Names that start with this text.

searchById
string
tag
string

Comma-separated labels.

noTags
boolean

Also (or only, without tag) items without labels.

tagFilterType
enum<string>

How several labels in tag combine.

Available options:
AND,
OR
uploadedBy
string

Email address of the last person who changed the item.

includeActive
boolean
includeArchived
boolean
archived
boolean

Older switch, ignored when includeActive or includeArchived is sent.

fromDate
string<date-time>
untilDate
string<date-time>
rangeFilter
string

Comma-separated date fields that fromDate/untilDate apply to. Without it they apply to the last-modified date.

dateFilterType
enum<string>

How several fields in rangeFilter combine.

Available options:
AND,
OR
sortby
string

name (default), creationDate or lastModifiedDate.

sortOrder
enum<string>
Available options:
ASC,
DESC
aggregate
string

Comma-separated fields to count values of, for example fileGroupId.

includeFields
string[]

Return only these fields of each result.

mapIds
string[]

Responsible users and Reporters only. The drawings to list.

Response

Search envelope. Each result is a file (type IB.EdBundle.Document.File) or a drawing (type IB.EdBundle.Document.Map), unless includeFields left type out.

Standard envelope returned by all list and search endpoints.

size
integer

Number of results on this page.

page
integer

Current page (zero-based).

hits
integer

Total number of matching documents.

results
object[]
aggregations
object

Facet counts, present when the aggregate parameter was used.