Find lenses
Changed onFind a lens or lenses. You may query using field filters with asterisk (*) wildcards. You may also optionally specify sort, limit, offset, and a list of fields to include in the response. The global default limit will apply if no limit param is specified.
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/v1/lenses
- AuthAPI key in header Authorization
Query parameters
Comma-delimited list of field names to include in the response.
Specify the sort order using a field name, e.g. '...?sort=name'. Prepend the field name with a minus sign to specify descending order, e.g. '...?sort=-name'.
Maximum number of records to return in the response; also useful for pagination in the UI.
Offset for paginating the response.
A description of the lens.
The email address where a user can go to get more help about the lens. A lens may choose to display this information to the user e.g. if the user clicks a “help” icon attached to the lens.
The url where a user can go to get more help about the lens. A lens may choose to display this information to the user e.g. if the user clicks a “help” icon attached to the lens.
The API version for the Lens Event API, e.g. 1, 2, etc.
True for any lens which is installed by an administrator (rather than pre-installed in Focus).
True for any lens which is available to users.
The name of the lens.
The original lens publisher's description of the lens.
The original lens publisher's name of the lens.
The original lens publisher's version of the lens.
The version of the lens.
Filter by time period when lenses were created.
Filter by time period when lenses were updated.
Response
Success, returns a list of lenses.
Changes
- info
added the new optional
queryrequest parameterlensEventApiVersion
- info
- info
added the new optional
queryrequest parametercreatedAt - info
added the new optional
queryrequest parameterupdatedAt
- info