{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/v1/subscription","auth":"required","results":{"codes":[]},"settings":"","examples":{"codes":[{"language":"json","code":"{\n\t\"registerSubscriberRequest\": {\n\t\t\"identifier\": \"4b36a7a0787a4fb8\",\n\t\t\"registration\": \"dgHlRm7_hqw:APA91bGHy2wDW2ADrXacdx-9Qi_7epOaOie72uZ2X8Jy72DSNMTXP5XtAVzGASq9zzGJK6sZXmVFdAx3tP9p0JbQsnWEjwlhySD2lgkOlm3JV9re4pBeMlvfm8xViql5wCeLO90-NmuH\",\n\t\t\"platform\": \"android\",\n\t\t\"sdk\": \"3\",\n\t\t\"app_token\": \"50a8affe879ee54b1fe67d2638672a4f\",\n\t\t\"device_model\": \"XT1058\",\n\t\t\"device_manufacturer\": \"motorola\",\n\t\t\"os_language\": \"pt-BR\",\n\t\t\"os_version\": \"5.1.1\",\n\t\t\"app_version\": \"1.0.0\",\n\t\t\"uuid\": \"4b36a7a0787a4fb8\"\n\t}\n}"}]},"method":"post","params":[{"name":"app_token","type":"string","default":"","desc":"Token de acesso do aplicativo","required":true,"in":"body","ref":"","_id":"572425b12ad0bc1700122796"},{"name":"identifier","type":"string","default":"","desc":"Identificador do usuário a ser inscrito para receber Push","required":true,"in":"body","ref":"","_id":"572425b12ad0bc1700122795"},{"name":"registration","type":"string","default":"","desc":"Registration ID ou Device Token do dispositivo","required":true,"in":"body","ref":"","_id":"572425b12ad0bc1700122794"},{"name":"platform","type":"string","default":"","desc":"Nome da plataforma em que o usuário está sendo registrado","required":true,"in":"body","ref":"","_id":"572425b12ad0bc1700122793"}]},"next":{"description":"","pages":[]},"title":"/subscription","type":"endpoint","slug":"subscription","excerpt":"","body":"","updates":[],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5724252a2ad0bc1700122791","editedParams2":true,"githubsync":"","editedParams":true,"user":"57240d9f110e570e00486ca0","__v":3,"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"(Usuários) API REST","slug":"api-rest","order":9,"from_sync":false,"reference":false,"_id":"57241c06eae5090e00ee624a","version":"57240e292887bb0e00bb9d96","__v":1,"project":"57240e292887bb0e00bb9d93","createdAt":"2016-04-30T02:44:22.475Z"},"parentDoc":null,"version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["57240e292887bb0e00bb9d97","57241b7deae5090e00ee6249","57241c06eae5090e00ee624a","57242abb2ad0bc170012279b","5734d18c7b9859320047f4b1","57688cc71f818b0e00695efb","577ead2ca74eb40e00d97bca","57b66af649a12a0e007b461b","597e5f8f13505b0014251a79","59964eb2f824b4000f961fbe","5a15ab12f2643f001ee8737c","5ab1151799750500797334e0","5c597e8b0abe110014bf1a11","5e395a05470bc3002d78d886","5e42a9647515f300509a594d","5f5e716dcc85f9004a4fa193","5f6dd615c624d800180bd237","5f984feb8aed05003a0032dc","60ac0e9c4c04970016613c6c","625010e649ff260020328542"],"_id":"57240e292887bb0e00bb9d96","createdAt":"2016-04-30T01:45:13.341Z","project":"57240e292887bb0e00bb9d93","releaseDate":"2016-04-30T01:45:13.341Z","__v":20},"createdAt":"2016-04-30T03:23:22.455Z","project":"57240e292887bb0e00bb9d93"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

app_token:
required
string
Token de acesso do aplicativo
identifier:
required
string
Identificador do usuário a ser inscrito para receber Push
registration:
required
string
Registration ID ou Device Token do dispositivo
platform:
required
string
Nome da plataforma em que o usuário está sendo registrado

Examples