Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e1a5165f8d
Fetching contributors…

Cannot retrieve contributors at this time

file 33 lines (27 sloc) 1.14 kb
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
POST /registrations with: phone_number=string, registration_id=number
  -- Register your phone number
PUT /contact_list with: contacts[0]=string, contacts[1]=string, contacts[2]=string, ..., contacts[n]=string
  -- send your contacts, get whether they are operators
GET /contact_lists/:phone_number with: my_phone_number=string
  -- request the contacts for an operator
PUT /contact_lists with: contacts=XML_for_contacts
  -- send your contacts
GET /contact_lists/:phone_number with: my_phone_number=string
  -- demand the contacts for an operator
GET /contacts/:id with: my_phone_number=string
  -- request the contact info for a given id
PUT /contacts/:id with: contact=XML_for_contact
  -- send the contact info for a given id
GET /contacts/:id with: my_phone_number=string
  -- demand the contact info for a given id


Where:

XML_for_contacts:

  <contacts>
    <contact id="1" phone-number="6176060842" />
  </contacts>

XML_for_contact:

  <contact>
    <email></email>
    <phone></phone>
    <whatever></whatever>
  </contact>
Something went wrong with that request. Please try again.