Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Friendship Create

sandavid edited this page Apr 27, 2013 · 1 revision

GET friendship/create

Returns an empty JSON if the friendship was successfully created

  • URL

    /friendship/create?token=token&requesteeId=requesteeId

  • Method:

    GET

  • URL Params

    Required:

    token=[string] requesteeId=[int]

  • Success Response:

    • Content:
    {}
    
  • Error Response:

    • Code: 400 Bad Request
      Content:

      {
      	"error":"Bad Request",
      	"code":400
      }
      
    • Code: 403 Forbidden
      Content:

      {
      	"error":"Forbidden",
      	"code":403
      }
      
    • Code: 999 Unexpected Error
      Content:

      {
      	"error":"Unexpected Error",
      	"code":999
      }
      
  • Sample Call:

    /friendship/create?token=12020d065be4447c9395506cc2278c8f&requesteeId=1

Clone this wiki locally