Get all board members
GET/v2/boards/:board_id/members
Retrieves a pageable list of members for a board.
Required scope
boards:readRate limiting
Level 1Request
Path Parameters
Unique identifier (ID) of the board to which the board member belongs.
Query Parameters
Possible values: >= 1
and <= 50
Responses
- 200
- 400
- 404
- 429
Board members retrieved
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
Contains the result data.
Unique identifier (ID) of the user.
Name of the user.
Possible values: [viewer
, commenter
, editor
, coowner
, owner
]
Role of the board member.
Type of the object that is returned. In this case, type
returns board_member
.
Total number of results available. If the value of the total
parameter is higher than the value of the size
parameter, this means that there are more results that you can retrieve. To retrieve more results, you can make another request and set the offset
value accordingly. For example, if there are 30
results, and the request has the offset
set to 0
and the limit
set to 20
, the size
parameter will return 20
and the total
parameter will return 30
. This means that there are 9 more results to retrieve (as the offset is zero-based).
Number of results returned in the response. The size
is the number of results returned considering the offset
and the limit
values sent in the request. For example, if there are 30
results, and the request has the offset set to 0
and the limit
set to 20
, the size
of the results will be 20
.
If there are 10
results, and the request has the offset set to 0
and the limit
set to 20
, the size
of the results will be 10
.
If there are 30
results, and the request has the offset set to 28
and the limit
set to 20
, the size
of the results will be 2
as the offset
is the zero-based offset of the first item in the collection.
Zero-based index of the first item in the collection. For example, If there are 30
results, and the request has the offset set to 28
, the response will return 2
results.
Maximum number of results returned based on the limit
specified in the request. For example, if there are 30
results, and the request has the offset set to 0
and the limit
set to 20
, the size
of the results will be 20
. The rest of the results will not be returned. To retrieve the rest of the results, you must make another request and set the appropriate value for the offset parameter. In this example, you will set the offset parameter to 20 as the offset is zero-based.
links
object
Contains pagination links for the collection.
Link to retrieve information in the first page of the collection.
Link to the retrieve information in the last page of the collection.
Link to retrieve information in the next page of the collection.
Link to retrieve information in the previous page of the collection.
Link to retrieve information in the current page of the collection.
{
"data": [
{
"id": "3074457353169356300",
"name": "John Smith",
"role": "viewer",
"type": "board_member"
}
],
"total": 1,
"size": 1,
"offset": 0,
"limit": 20,
"links": {
"first": "http://api.miro.com/v2/boards/o9J_lJWSHdg=/items?limit=10&cursor=MzQ1ODc2NaSDN&#RDMDA3MzYyOX==",
"last": "http://api.miro.com/v2/boards/o9J_lJWSHdg=/items?limit=10&cursor=MzQ1ODc2NDUyNDUyMDA3MzYyOX==",
"next": "http://api.miro.com/v2/boards/o9J_lJWSHdg=/items?limit=10&cursor=MzQ1ODc2NDUyNDsdgsFEwfFJCw==",
"prev": "http://api.miro.com/v2/boards/o9J_lJWSHdg=/items?limit=10&cursor=",
"self": "http://api.miro.com/v2/boards/o9J_lJWSHdg=/items?limit=10&cursor=MzQ1OD1245643FWUyMDA3MzYyOX=="
},
"type": "string"
}
Malformed request
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}
Too many requests
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}