Count Watching

Returns the number of your watching issues.

Role

All

Method

GET 

URL

/api/v2/users/:userId/watchings/count 

URL parameters

Parameter Name Type Description
userId Number User ID

Query parameters

Parameter Name Type Description
resourceAlreadyRead Boolean This parameter is optional. Set to false for unread watching count and true for already read watching count.
alreadyRead Boolean This parameter is optional. Set this parameter to false to get unread watching count since the last time checked by user and true for already read watching count. When both alreadyRead and resourceAlreadyRead parameters set, resourceAlreadyRead will be ignored.

Response example

Status Line / Response Header

HTTP/1.1 200 OK 
Content-Type:application/json;charset=utf-8 

Response Body

{ 
    "count": 138 
}