Skip to content

Allow annotations parameter to accept specific fields #3563

@karenzshea

Description

@karenzshea

The annotations parameter currently accepts a boolean and returns all the fields duration, distance, nodes, datasources. It could be useful to accept requests for only specific fields, i.e. accept annotations=duration and only return a { duration: 10, 5, 20 } in the returned annotations object.

Leaving annotations=true|false to return all fields will ensure the changes are only additive.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions