[Base URL: https://mustapp.com]
This API was taken from the Mustapp application. To use requests, you need to specify Bearer which I designated as
- Obtaining a Bearer token.
| Responses | |
|---|---|
| Code | Description |
| 200 |
Successful operation {
"id" : 0,
"token" : "string"
} |
| Curl | |
|
|
We can say that everything starts with this request. This request creates a user in guest mode, then you can authorize
- Search in DB (users, movies, shows, pesons, users, generes).
| Headers | |
|---|---|
| Name | Description |
Bearer stringtoken |
A unique token that is needed to link to the user's account. Not required for search |
| Body | |
{
"query": "string",
"types": [
"movies",
"shows",
"persons",
"users",
"genres"
]
} |
|
| Responses | |
| Code | Description |
| 200 |
Successful operation {
"persons" : [
0
],
"users" : [
0
],
"genres" : [
0
],
"movies" : [
0
],
"shows" : [
0
],
"products" : [
0
]
} |
| Curl | |
|
|
- Get Datas movies and showes from IDs
| Headers | |
|---|---|
| Name | Description |
Bearer stringtoken |
A unique token that is needed to link to the user's account. Not required for this |
| Body | |
{
"ids": [
0
]
} |
|
| Responses | |
| Code | Description |
| 200 |
Successful operation [
{
"trailer_url" : "string",
"release_date" : "1970-01-01",
"id" : 0,
"poster_file_path" : "string",
"title" : "string",
"items_count" : 0,
"subtitle" : null,
"runtime" : 0,
"type" : "string",
"items_released_count" : 0
}
] |
| Curl | |
|
|
- Get Data movie or showes from ID
| Headers | |
|---|---|
| Name | Description |
Bearer stringtoken |
A unique token that is needed to link to the user's account. Not required for this |
| Responses | |
| Code | Description |
| 200 |
Successful operation {
"movie" : {
"reviews_count" : 0,
"crew" : [
{
"roles" : [
"string",
],
"person" : {
"gender" : null,
"id" : 0,
"related_movies_count" : 0,
"related_shows_count" : 0,
"overview" : null,
"name" : "string",
"image_uri" : "string"
}
}
],
"cast" : [
{
"roles" : [
"string",
],
"person" : {
"gender" : null,
"id" : 0,
"related_movies_count" : 0,
"related_shows_count" : 0,
"overview" : null,
"name" : "string",
"image_uri" : "string"
}
}
],
"soundtrack_url" : null,
"overview" : "string",
"want_count" : 0,
"watch_count" : 0
},
"youtube" : null,
"id" : 0,
"poster_file_path" : "string",
"subtitle" : null,
"items_released_count" : 0,
"show" : null,
"type" : "movie",
"episode" : null,
"season" : null,
"title" : "string",
"trailer_url" : "string",
"items_count" : 0,
"release_date" : "1970-01-01",
"genres" : [
0
],
"rate" : {
"mustapp" : 0,
"imdb" : 0,
"rotten_tomatoes" : null
},
"runtime" :
} |
| Curl | |
|
|
- Get genres movie from IDs
| Headers | |
|---|---|
| Name | Description |
Bearer stringtoken |
A unique token that is needed to link to the user's account. Not required for this |
Content-Type string |
application/json |
| Body | |
{
"ids": [
0
]
} |
|
| Responses | |
| Code | Description |
| 200 |
Successful operation [
{
"id" : 0,
"name" : "string",
"emoji" : "π"
}
] |
| Curl | |
|
|
- Get similiars movie and shows from ID
| Headers | |
|---|---|
| Name | Description |
Bearer stringtoken |
A unique token that is needed to link to the user's account. Not required for this |
| Responses | |
| Code | Description |
| 200 |
Successful operation [
{
"trailer_url" : "string",
"release_date" : "1970-01-01",
"id" : 0,
"poster_file_path" : "0",
"title" : "string",
"items_count" : 0,
"subtitle" : null,
"runtime" : 0,
"type" : "string",
"items_released_count" : 0
}
] |
| Curl | |
|
|
- Get cinemas movie from ID
| Headers | |
|---|---|
| Name | Description |
Bearer stringtoken |
A unique token that is needed to link to the user's account. Not required for this |
| Responses | |
| Code | Description |
| 200 |
Successful operation [
] |
| Curl | |
|
|
- Get streamings movie from ID
| Headers | |
|---|---|
| Name | Description |
Bearer stringtoken |
A unique token that is needed to link to the user's account. Not required for this |
| Responses | |
| Code | Description |
| 200 |
Successful operation [
{
"name": "string,
"type": "string",
"image_uri": "string",
"subscription_required": false,
"coming_soon": false,
"links": [
{
"type": "string",
"url": "string"
}
],
"link": "string",
"price": {
"min": 0.0,
"max": 0.0,
"currency_code": "string"
}
}
] |
| Curl | |
|
|
- Get commentaries movie from ID
| Query | |
|---|---|
| Parametrs | Description |
limit int |
Get a certain number of comments. Standard value is 10 |
offset int |
Moving through comments. Default 0 |
with_reviews boolean |
Get responses to comments |
| Headers | |
| Name | Description |
Bearer stringtoken |
A unique token that is needed to link to the user's account. Not required for this |
| Responses | |
| Code | Description |
| 200 |
Successful operation {
"watches" : [
{
"rate" : 0,
"watched_at" : "string",
"review" : {
"reviewed_at" : "string",
"body" : "string"
},
"discussion" : {
"discussion_id" : 0,
"likes_count" : 0,
"replies_count" : 0,
"liked" : null
},
"user" : {
"image_uri" : "string",
"gender" : "string",
"id" : 0,
"you_follow" : null,
"is_private" : false,
"verified" : false,
"follows_you" : null,
"uri" : "string",
"name" : "string"
}
}
],
"query" : null,
"offset" : 0,
"total" : 0,
"limit" : 0
} |
| 400 |
Bad Request {
"error" : {
"message" : "invalid limit provided.",
"code" : "invalid_model"
}
} |
| Curl | |
|
|
- Loggin whith apple ID.
| Headers | |
|---|---|
| Name | Description |
Bearer stringtoken |
A unique token that is needed to link to the user's account |
| Body | |
{
"app_id": "ru.ayyo.must",
"force": false,
"code": "string",
"name": "string"
} |
|
| Responses | |
| Code | Description |
| 200 |
Successful operation {
"name": null,
"phone": null,
"facebook_name": null,
"facebook_id": null,
"twitter_name": null,
"twitter_id": null,
"is_private": false,
"timezone": "string",
"has_default_uri": false,
"store_country_code": "string",
"cinema_country_code": "string",
"prefered_language_code": "string",
"gender": null,
"image_uri": null,
"bio_message": null,
"links": {},
"google_id": null,
"google_name": null,
"is_youtube_linked": null,
"apple_id": "string",
"apple_email": "string",
"apple_name": null,
"id": 0,
"uri": "string",
"is_anonymous": false
} |
| Curl | |
|
|
- Loggin whith facebook.
| Headers | |
|---|---|
| Name | Description |
Bearer stringtoken |
A unique token that is needed to link to the user's account |
- Loggin whith Google.
| Headers | |
|---|---|
| Name | Description |
Bearer stringtoken |
A unique token that is needed to link to the user's account |
| Body | |
{
"force": false,
"authorization_code": "string"
} |
|
| Responses | |
| Code | Description |
| 200 |
Successful operation {
"name": "string",
"phone": "string",
"facebook_name": null,
"facebook_id": null,
"twitter_name": null,
"twitter_id": null,
"is_private": true,
"timezone": "string",
"has_default_uri": false,
"store_country_code": "string",
"cinema_country_code": "string",
"prefered_language_code": "string",
"gender": "string",
"image_uri": "string",
"bio_message": null,
"links": {},
"google_id": "string",
"google_name": "string",
"is_youtube_linked": true,
"apple_id": null,
"apple_email": null,
"apple_name": null,
"id": 0,
"uri": "string",
"is_anonymous": false
} |
| Curl | |
|
|
