This repository has been archived by the owner on Sep 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
SPECIAL_specs.txt
75 lines (43 loc) · 1.92 KB
/
SPECIAL_specs.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
***** SPECIAL PAGE *****
+ get special info & tracks & original videos of each track
-> GET /v4.1/special/{special_id}
+ collect a special
-> POST /v4.1/users/me/collectedSpecial
-> Form/JSON param: id=xxx
+ discard a special
-> DELETE /v4.1/users/me/collectedSpecial/{special_id}
+ get all related specials (paging)
-> GET /v4.1/special/{special_id}/related
***** TOP CHART PAGE *****
+ get info of ALL artist’s specials in a chart (paging)
-> GET /v4.1/special/artists (US TOP 100)
-> GET /v4.1/genres/{genre_id}/special/artists (Other charts which have genre_id)
+ get info of UNLOCKED artist’s specials in a chart (paging)
-> GET /v4.1/special/artists?unlocked=1
## GET /v4.1/genres/{genre_id}/special/artists?unlocked=1
+ get all specials of an artist (paging)
-> GET /v4.1/artists/{artist_id}/special
## GET /v4.1/genres/{genre_id}/special/artists/{artist_id} (Other charts which have genre_id)
***** ARTIST PAGE *****
+ include specials section
-> GET /v4.1/artists/{artist_id}
+ get all specials (paging)
-> GET /v4.1/artists/{artist_id}/special
+ unlock all specials of an artist
-> POST /v4.1/artists/{artist_id}/unlockSpecial
***** USER PAGE *****
+ get collected specials (paging)
-> GET /v4.1/users/{user_id}/collectedSpecial
***** LOG *****
`POST /v4.1/events/sharingSpecialToSocials`
Form/JSON params:
+ `source`: string, be "view_artist_special", "view_artist_profile", "view_profile_special" or "view_related_special"
+ `artist_id`: ID of shared artist
+ `special_id`: ID of the special concert that triggers this action
+ `ext`: string, reserved.
`source`:
a) View special concerts of an artist: `view_artist_special`
b) View artist profile: `view_artist_profile`
c) View concert section in a user profile: `view_profile_special`
d) View related concerts of a special concert: `view_related_special`
Whenever app shows "Sharing to Socials" screen, app needs to call this endpoint.