List your app's ratings
curl --request GET \
--url https://api.tassyir.io/developer/apps/{appId}/ratings \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tassyir.io/developer/apps/{appId}/ratings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"stars": 3,
"body": "<string>",
"author": {
"kind": "business",
"name": "<string>"
},
"installed": true,
"createdAt": "2023-11-07T05:31:56Z",
"editedAt": "2023-11-07T05:31:56Z",
"reply": {
"body": "<string>",
"repliedAt": "2023-11-07T05:31:56Z"
},
"reportedByYou": true
}
],
"nextCursor": "<string>",
"summary": {
"average": 123,
"count": 4503599627370495
}
}{
"statusCode": 400,
"message": [
"<string>"
],
"error": "Bad Request",
"requestId": "<string>"
}{
"code": "DEVELOPER_TOKEN_INVALID",
"message": "<string>",
"statusCode": 123,
"fix": "<string>",
"errors": [
{
"code": "<string>",
"path": "<string>",
"message": "<string>",
"fix": "<string>"
}
],
"path": "<string>",
"requestId": "<string>"
}{
"code": "APP_NOT_FOUND",
"message": "<string>",
"statusCode": 123,
"fix": "<string>",
"errors": [
{
"code": "<string>",
"path": "<string>",
"message": "<string>",
"fix": "<string>"
}
],
"path": "<string>",
"requestId": "<string>"
}{
"code": "DEVELOPER_TOKEN_RATE_LIMITED",
"message": "<string>",
"statusCode": 123,
"fix": "<string>",
"errors": [
{
"code": "<string>",
"path": "<string>",
"message": "<string>",
"fix": "<string>"
}
],
"path": "<string>",
"requestId": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"path": "<string>",
"requestId": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"path": "<string>",
"requestId": "<string>"
}Ratings
List your app's ratings
The published ratings, newest first, with the average and count the marketplace shows. limit 1-50 (default 20). A rating Tassyir hid is not listed.
Takes the dashboard session or a developer token (tsy_dt_…); either way the caller is the signed-in user, and only their own account, apps and tokens are reachable.
GET
/
developer
/
apps
/
{appId}
/
ratings
List your app's ratings
curl --request GET \
--url https://api.tassyir.io/developer/apps/{appId}/ratings \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tassyir.io/developer/apps/{appId}/ratings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"stars": 3,
"body": "<string>",
"author": {
"kind": "business",
"name": "<string>"
},
"installed": true,
"createdAt": "2023-11-07T05:31:56Z",
"editedAt": "2023-11-07T05:31:56Z",
"reply": {
"body": "<string>",
"repliedAt": "2023-11-07T05:31:56Z"
},
"reportedByYou": true
}
],
"nextCursor": "<string>",
"summary": {
"average": 123,
"count": 4503599627370495
}
}{
"statusCode": 400,
"message": [
"<string>"
],
"error": "Bad Request",
"requestId": "<string>"
}{
"code": "DEVELOPER_TOKEN_INVALID",
"message": "<string>",
"statusCode": 123,
"fix": "<string>",
"errors": [
{
"code": "<string>",
"path": "<string>",
"message": "<string>",
"fix": "<string>"
}
],
"path": "<string>",
"requestId": "<string>"
}{
"code": "APP_NOT_FOUND",
"message": "<string>",
"statusCode": 123,
"fix": "<string>",
"errors": [
{
"code": "<string>",
"path": "<string>",
"message": "<string>",
"fix": "<string>"
}
],
"path": "<string>",
"requestId": "<string>"
}{
"code": "DEVELOPER_TOKEN_RATE_LIMITED",
"message": "<string>",
"statusCode": 123,
"fix": "<string>",
"errors": [
{
"code": "<string>",
"path": "<string>",
"message": "<string>",
"fix": "<string>"
}
],
"path": "<string>",
"requestId": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"path": "<string>",
"requestId": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"path": "<string>",
"requestId": "<string>"
}Authorizations
dashboardSessiondeveloperToken
The dashboard's session token (Authorization: Bearer <JWT>), as the console sends it. Never paste it into a terminal: it opens every business the user belongs to.
Path Parameters
One of your apps' ids. Another developer's app, or a malformed id, is 404 APP_NOT_FOUND.
Pattern:
^\d{1,20}$Query Parameters
The nextCursor of the previous page, unchanged, with the same filters.
Maximum string length:
200Pattern:
^[A-Za-z0-9_-]+$Page size, 1 to 100. A value outside that range is 400.
Required range:
1 <= x <= 50