Changes between Version 3 and Version 4 of RESTDraft


Ignore:
Timestamp:
04/02/12 17:55:09 (12 years ago)
Author:
adir
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RESTDraft

    v3 v4  
    3838\\ 
    3939\\ 
     40||'''URI:'''||'''/rest/token/'''||Autentica consumidor através do protocolo OAuth2 (http://tools.ietf.org/html/draft-ietf-oauth-v2-25)|| 
     41||'''Método:'''||'''POST'''|| || 
     42||'''Parâmetros:'''|| grant_type:(authorization_code/password/token/refresh_token) || || 
     43||'''Retorno:'''|| ||  {\\ 
     44       "access_token":"2YotnFZFEjr1zCsicMWpAA",\\ 
     45       "token_type":"example",\\ 
     46       "expires_in":3600,\\ 
     47       "refresh_token":"tGzv3JOkF0XG5Qx2TlKWIA",\\ 
     48       "example_parameter":"example_value"\\ 
     49     } || 
     50||Retorno de Exemplo (JSON):|||| {} 
     51\\ 
     52 
     53\\ 
    4054||'''URI:'''||'''/rest/maillast/'''||Retorna as últimas 20 mesagens não lidas.|| 
    4155||'''Método:'''||'''GET'''|| ||