Skip to content

AN0NCER/mustapp-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Mustapp API 1.0.0

[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

-

/api/acc/anonymous

Obtaining a Bearer token.
Responses
CodeDescription
200






Successful operation

{
 "id" : 0,
 "token" : "string"
}
Curl
   curl "https://mustapp.com/api/acc/anonymous" \
	-X POST

We can say that everything starts with this request. This request creates a user in guest mode, then you can authorize

View management

-

/api/search

Search in DB (users, movies, shows, pesons, users, generes).
Headers
NameDescription
Bearer
string
token
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
CodeDescription
200



















Successful operation

{
  "persons" : [
    0
  ],
  "users" : [
    0
  ],
  "genres" : [
    0
  ],
  "movies" : [
    0
  ],
  "shows" : [
    0
  ],
  "products" : [
    0
  ]
}
Curl
curl "https://mustapp.com/api/search" \
	-X POST \
	-H 'Content-Type: application/json; charset=utf-8' \
	-d '{"query":"string","types":["movies","shows","persons","users","genres"]}'
-

/api/products

Get Datas movies and showes from IDs
Headers
NameDescription
Bearer
string
token
A unique token that is needed to link to the user's account. Not required for this


Body
{
  "ids": [
    0
  ]
}
Responses
CodeDescription
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
curl "https://mustapp.com/api/products/" \
	-X POST \
	-H 'Content-Type: application/json; charset=utf-8' \
	-H 'Bearer: 0ba41ebd-5df1-4d90-ac0c-b642a9261779' \
	-d '{"ids":[0]}'
-

/api/products/{}

Get Data movie or showes from ID
Headers
NameDescription
Bearer
string
token
A unique token that is needed to link to the user's account. Not required for this


Responses
CodeDescription
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
curl "https://mustapp.com/api/products/{}"
-

/api/genres

Get genres movie from IDs
Headers
NameDescription
Bearer
string
token
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
CodeDescription
200








Successful operation

[
  {
    "id" : 0,
    "name" : "string",
    "emoji" : "πŸ‘Š"
  }
]
Curl
curl "https://mustapp.com/api/genres" \
	-X POST \
	-H 'Content-Type: application/json' \
	-d '{"ids":[0]}'
-

/api/products/{}/similars

Get similiars movie and shows from ID
Headers
NameDescription
Bearer
string
token
A unique token that is needed to link to the user's account. Not required for this


Responses
CodeDescription
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
curl "https://mustapp.com/api/products/{}/similars"
-

/api/products/{}/cinemas

Get cinemas movie from ID
Headers
NameDescription
Bearer
string
token
A unique token that is needed to link to the user's account. Not required for this


Responses
CodeDescription
200



Successful operation

[
]
Curl
curl "https://mustapp.com/api/products/{}/cinemas"
-

/api/products/{}/streamings

Get streamings movie from ID
Headers
NameDescription
Bearer
string
token
A unique token that is needed to link to the user's account. Not required for this


Responses
CodeDescription
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
curl "https://mustapp.com/api/products/{}/streamings"
-

/api/products/{}/watches

Get commentaries movie from ID
Query
ParametrsDescription
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
NameDescription
Bearer
string
token
A unique token that is needed to link to the user's account. Not required for this


Responses
CodeDescription
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
curl "https://mustapp.com/api/products/14659/watches?limit=10&offset=0&with_reviews=true"

Authorization

-

/api/acc/apple

Loggin whith apple ID.
Headers
NameDescription
Bearer
string
token
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
CodeDescription
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
curl "https://mustapp.com/api/acc/apple" \
	-X PUT \
	-H 'Bearer: <token>' \
	-d '{"code":"string","force":false,"app_id":"ru.ayyo.must","name":"string"}'
-

/api/acc/facebook

Loggin whith facebook.
Headers
NameDescription
Bearer
string
token
A unique token that is needed to link to the user's account


-

/api/acc/google

Loggin whith Google.
Headers
NameDescription
Bearer
string
token
A unique token that is needed to link to the user's account


Body
  {
    "force": false,
    "authorization_code": "string"
  }
Responses
CodeDescription
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
curl "https://mustapp.com/api/acc/google" \
	-X PUT \
	-H 'Bearer: <token>' \
	-d '{"force":false,"authorization_code":"string"}'

Session

-

/api/acc/session

Delete activity session.
Headers
NameDescription
Bearer
string
token
A unique token that is needed to link to the user's account


Responses
CodeDescription
204



Successful operation

Curl
curl "https://mustapp.com/api/acc/session" \
	-X DELETE \
	-H 'Bearer: <token>'

About

Get API Mustapp application from IOS and ANDROID (https://mustapp.com/)

Topics

Resources

License

Stars

Watchers

Forks