getComponent method

Future<ProjectComponent> getComponent(
  1. String id
)

Returns a component.

This operation can be accessed anonymously.

Permissions required: Browse projects project permission for project containing the component.

Implementation

Future<ProjectComponent> getComponent(String id) async {
  return ProjectComponent.fromJson(await _client.send(
    'get',
    'rest/api/3/component/{id}',
    pathParameters: {
      'id': id,
    },
  ));
}