cja_get_annotations {cjar}R Documentation

Get list of annotations

Description

Retrieve all annotations or filter to return only one

Usage

cja_get_annotations(
  id = NULL,
  expansion = NULL,
  includeType = "all",
  locale = "en_US",
  filterByModifiedAfter = NULL,
  filterByDateRange = NULL,
  limit = 10,
  page = 0,
  debug = FALSE
)

Arguments

id

Filter the results to one specific annotation by the annotation id. If not used, a list of annotations will be returned limited by the 'limit' and 'page' arguments.

expansion

Obtain additional information around an annotation. You can include multiple expansions using the 'c()' function. See details for options.

includeType

Include additional segments not owned by the user. Available values are all (default) and shared. The all option takes precedence over "shared".

locale

A query string that returns strings localized by Adobe into the desired language. Localization does not apply to user-defined fields, such as annotation names. See details for options.

filterByModifiedAfter

An ISO 8601 date that returns only annotations that were modified after the desired date. example datetime format: 'YYYY-MM-DDTHH:MM:SSZ'

filterByDateRange

Two ISO 8601 dates separated by a forward slash (/) that returns only annotations that fully reside within the desired date range. example format: 'MM:SSZ/YYYY-MM-DDTHH:MM:SSZ'

limit

An integer that represents the number of results per page. Default is 10

page

An integer that represents which page to return results. The first page is 0. The API supports up to 1000 pages

debug

Include the output and input of the api call in the console for debugging. Default is FALSE

Details

Value

A data frame of segments and their meta data.


[Package cjar version 0.1.2 Index]