Skip to content
Sergey Kozlov edited this page Aug 19, 2017 · 11 revisions

Category:API

ru:API_All

Files

Inbox

https://api.vide.me/file/inbox/

curl -i -X POST \
-b "vide_nad=d015f4c3e5565fea88e8a409183bcd41" \
https://api.vide.me/file/inbox/

Sent:

https://api.vide.me/file/sent/

curl -i -X POST \
-b "vide_nad=d015f4c3e5565fea88e8a409183bcd41" \
https://api.vide.me/file/sent/

My files

https://api.vide.me/file/my/

curl -i -X POST \
-b "vide_nad=d015f4c3e5565fea88e8a409183bcd41" \
https://api.vide.me/file/my/

Show my Spring

https://api.vide.me/file/myspring/

curl -i -X POST \
-b "vide_nad=d015f4c3e5565fea88e8a409183bcd41" \
https://api.vide.me/file/myspring/

File information

https://api.vide.me/file/info/?file=26ecba3b117ed974

curl -i https://api.vide.me/file/info/?file=26ecba3b117ed974

Spring

Show Spring

https://api.vide.me/file/spring/?spring=JulianoFerreira

curl -i https://api.vide.me/file/spring/?spring=JulianoFerreira

Show List of Spring

https://api.vide.me/file/spring/showlist/?spring=JulianoFerreira

curl -i https://api.vide.me/file/spring/showlist/?spring=JulianoFerreira

TODO Show property Spring (BETA)

https://api.vide.me/file/spring/info/?spring=JulianoFerreira

curl -i https://api.vide.me/file/spring/info/?spring=JulianoFerreira

Show property List of Spring

https://api.vide.me/file/spring/info/?spring=JulianoFerreira&list=beach%20volleyball

curl -i \
"https://api.vide.me/file/spring/info/\
?spring=JulianoFerreira\
&list=beach%20volleyball"

Make a shared user file

https://api.vide.me/file/share/?file=26ecba3b117ed974&list=beach%20volleyball

curl -i -X POST \
-b "vide_nad=d015f4c3e5565fea88e8a409183bcd41" \
"https://api.vide.me/file/share/\
?file=26ecba3b117ed974\
&list=beach%20volleyball"

Make a no shared user file

https://api.vide.me/file/noshare/?file=26ecba3b117ed974

curl -i -X POST \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
https://api.vide.me/file/noshare/?file=26ecba3b117ed974

Deleting files

Delete own file

https://api.vide.me/file/delfile/?file=26eсba3b117ed974

curl -i -X POST \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
https://api.vide.me/file/delfile/?file=26eсba3b117ed974

Delete the file from your inbox

https://api.vide.me/file/delinbox/?file=26eсba3b117ed974

curl -i -X POST \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
https://api.vide.me/file/delinbox/?file=26eсba3b117ed974

Deleting your sent file

https://api.vide.me/file/delsent/?file=26eсba3b117ed974

curl -i -X POST \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
https://api.vide.me/file/delsent/?file=26eсba3b117ed974

Resend a file

https://api.vide.me/file/resend/

Show public files

Show new public files

https://api.vide.me/file/shownew/

curl -i https://api.vide.me/file/shownew/\
?limit=4\
&skip=2

=== Show related public files (BETA) ===

https://api.vide.me/file/shownext/?limit=4&skip=2&file=26eсba3b117ed974&prevfile=71ebfb578df915d1

curl -i https://api.vide.me/file/shownext/\
?limit=4\
&skip=2\
&file=26eсba3b117ed974\
&prevfile=71ebfb578df915d1

Show popular public files

https://api.vide.me/file/showpop/

curl -i https://api.vide.me/file/showpop/\
?limit=4\
&skip=2

== User ==

=== Authorization: ===

=== User login (POST) ===

https://api.vide.me/user/login/

for the browsers:

curl -i -X POST \
-d '[email protected]' \
-d 'password=Pilsner333' \
https://api.vide.me/user/login/

or for mobile applications:

curl -i -X POST \
-H "X-Videme-App-Token: XUafJTkPikD5XN5HxciweVuSe12gDgk2tzMltOhr" \
-d '[email protected]' \
-d 'password=Pilsner333' \
https://api.vide.me/user/login/

=== Logout: ===

https://api.vide.me/user/exit/

curl -i -X POST \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
https://api.vide.me/user/exit/

=== Show user profile ===

https://api.vide.me/user/info/

curl -i -X POST \
-b "vide_nad=d015f4c3e5565fea88e8a409183bcd41" \
https://api.vide.me/user/info/

== Change the user ==

=== Change the user information ===

https://api.vide.me/user/update/info/

curl -i -X POST \
-b "vide_nad=d015f4c3e5565fea88e8a409183bcd41" \
-d 'userdisplayname=Juliano Ferreira' \
-d 'userfirstname=Juliano' \
-d 'userlastname=Ferreira' \
-d 'userlink=httpss://plus.google.com/u/0/110524031438486323383/posts' \
-d 'usergender=male' \
-d '[email protected]' \
-d 'usertimezone=' \
-d 'userlocale=es' \
-d 'userpicture=httpss://lh4.googleusercontent.com
/-ibvhVBb9XaQ/AAAAAAAAAAI/AAAAAAAAABM/tMnw2qGs1i8/
s250-c-k-no/photo.jpg' \
https://api.vide.me/user/update/info/

=== Change user Password ===

https://api.vide.me/user/update/pas/

curl -i -X POST \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
-d '[email protected]' \
-d 'password=OldPassword' \
-d '[email protected]' \
-d 'newpassword=NewPassord' \
-d 'spring=julianoferreira' \
https://api.vide.me/user/update/pas/

== Lists ==

=== Show user lists ===

https://api.vide.me/list/

curl -i -X POST \
-b "vide_nad=d015f4c3e5565fea88e8a409183bcd41" \
https://api.vide.me/list/

=== Add User list ===

https://api.vide.me/list/create/?list=tornado

curl -i -X POST \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
https://api.vide.me/list/create/?list=tornado

=== Rename user list ===

https://api.vide.me/list/update/?list=beach%20volleyball&newlist=beach%20sport

curl -i -X POST \
-b "vide_nad=d015f4c3e5565fea88e8a409183bcd41" \
"https://api.vide.me/list/update/\
?list=beach%20volleyball\
&newlist=beach%20sport"

=== Delete user list ===

https://api.vide.me/list/remove/?list=tornado

curl -i -X POST \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
https://api.vide.me/list/remove/?list=tornado
curl -i -X POST \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
-d 'list=tornado' \
https://api.vide.me/list/remove/

== Contacts ==

=== Show user's contacts ===

https://api.vide.me/contact/

curl -i \
-b "vide_nad=d015f4c3e5565fea88e8a409183bcd41" \
https://api.vide.me/contact/

=== Add user contact ===

https://api.vide.me/contact/create/

curl -i \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
"https://api.vide.me/contact/create/\
[email protected]"
curl -i -X POST \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
-d '[email protected]' \
https://api.vide.me/contact/create/

Result: new contact Id.

=== Edit user contact ===

https://api.vide.me/contact/update/

curl -i \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
"https://api.vide.me/contact/update/\
[email protected]\
&[email protected]"
curl -i -X POST \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
-d '[email protected]' \
-d '[email protected]' \
https://api.vide.me/contact/update/

Result: Runtime operation.

=== Remove user contact: ===

https://api.vide.me/contact/remove/

curl -i -X POST \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
-d '[email protected]' \
https://api.vide.me/contact/remove/
curl -i \
-b "vide_nad=d015f4с3e5565fea88e8a409183bcd41" \
"https://api.vide.me/contact/remove/\
[email protected]"

Result: 200.

Clone this wiki locally