To access all the latest updates, features & functionality we strongly advise that you use API v2

API v1 Has Been Deprecated

To access all the latest updates, features & functionality we strongly advise that you use API v2

Summary

This API call allows a user to test to see if they have authenticated correctly against vzaar by allowing a simple get request to a protected resource.

Endpoint

/api/test/whoami

Formats

  • XML
  • JSON

Arguments

  • None

Parameters

  • None

HTTP Methods

  • GET

Authentication

  • Required

Response

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
  <vzaar-api>
  <test>
  <login>string</login>
  </test>
  </vzaar-api>

Description

  • login - This is the account the autenticated call came from

Examples

Call: http://vzaar.com/api/test/whoami

Request

GET /api/test/whoami HTTP/1.1
    Accept: /
    Connection: close
    User-Agent: OAuth gem v0.3.5
    Authorization: OAuth
    oauth_nonce="8KPlE38Xf7GdcGTacm6DCLZCHCiQqT5KHfiZxHOLsI",
    oauth_signature_method="HMAC-SHA1",
    oauth_timestamp="1245868658",
    oauth_token="my_vzaar_username",
    oauth_signature="w5xtnKtDpk0ni%2FZanU%2FdobyyYZI%3D",
    oauth_version="1.0"
    Host: vzaar.com

Response

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
  <vzaar-api>
  <test>
  <login>my_vzaar_username</login>
  </test>
  </vzaar-api>

contact us   by phone, mail or twitter...
libraries
ruby java php .net node
affiliates
affiliate program


Powered by Olark