Name | Description | Type | Default value | Required |
---|---|---|---|---|
id | Идентификатор профиля | String | Yes |
{ "state": 200, "data": [ { Dating profile object } ] }
State | Data type | Description |
---|---|---|
200 | Dating profile object | Successfully |
400 | [] | Profile not found |
Name | Description | Type | Default value | Required |
---|---|---|---|---|
id | Profile ID | String | Yes | |
name | Name | String | No | |
description | Description | String | No | |
main_image | Image ID in list | Integer | No | |
delete_image | Image ID in list | Integer | No | |
new_image | Attachment object for new image | Object | No | |
crop_avatar | List of coordinates x, y, width, height | [] | No |
{ "state": 200, "data": true }
State | Data type | Description |
---|---|---|
200 | Dating profile object | Successfully |
400 | NULL | Profile not found |
{ "state": 200, "data": [ { "name": "Tony Bark", "avatar": "https://cdn01.tazeros.com/404", "unseen_count": 23, "model": "love", "active": true } ] }
Name | Description | Type |
---|---|---|
name | Full name | String |
avatar | Profile avatar | String |
unseen_count | Count of unseen messages | Integer |
model | Type of model | String |
active | Is model active? | True / False |
State | Data type | Description |
---|---|---|
200 | [] | Successfully |
404 | [] | Dating product not activated |
405 | [] | Models list are empty |
Name | Description | Type | Default value | Required |
---|---|---|---|---|
model | Model | String | No |
{ "state": 200, "data": [ { "name": "Tony Bark", "avatar": "https://cdn01.tazeros.com/404", "unseen_count": 23, "model": "love", "active": true } ] }
Name | Description | Type |
---|---|---|
name | Full name | String |
avatar | Profile avatar | String |
unseen_count | Count of unseen messages | Integer |
model | Type of model | String |
active | Is model active? | True / False |
State | Data type | Description |
---|---|---|
200 | [] | Successfully |
400 | [] | Model is empty |
404 | [] | Dating product not activated |