/transfers

This endpoint allows you to get information about transfers.

Request Headers

Content-Type: application/json
Accept: application/json
Authorization: Bearer access_token
Host: example.org
Cookie: 

Request Example

curl -g "http://shares.example.com/transfers/a53396d1-34c8-4f15-8efa-f72f6bca272c" -X GET \
	-H "Content-Type: application/json" \
	-H "Accept: application/json" \
	-H "Authorization: Bearer access_token" \
	-H "Host: example.org" \
	-H "Cookie: "

Response Attributes

Name Type Description
uuid integer UUID
share_id integer ID of share
user_id integer User ID
started boolean Tranfer started
completed boolean Transfer completed
created_at dateTime When transfer created
updated_at dateTime When transfer updated

Get specific transfer

GET /transfers/{uuid}

Request Example

curl -g "http://shares.example.com/transfers/a53396d1-34c8-4f15-8efa-f72f6bca272c" -X GET

Success Response Code

  • 200 OK

Get all transfers

GET /transfers

Request Example

curl -g "http://shares.example.com/transfers" -X GET

Response Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Security-Policy: script-src 'self' 'unsafe-inline' 'unsafe-eval' https://local.connectme.us https://d3gcli72yxqn2z.cloudfront.net http://d3gcli72yxqn2z.cloudfront.net
Content-Type: application/json; charset=utf-8
Link: 
X-Pagination: {"total_count":1,"total_pages":1,"first_page":true,"last_page":true,"previous_page":null,"next_page":null}
ETag: W/"a816e5b873d22da39e8fbf8aa6d3407a"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: a07ed72c-bee0-4134-a77e-fc025547e17e
X-Runtime: 0.023490
Content-Length: 203

Success Response Example

200 OK
[
  {
    "uuid": "1e8a8f41-9afb-4ab2-876d-6ce96a67d574",
    "user_id": 891963376,
    "share_id": 788962653,
    "started": true,
    "completed": false,
    "created_at": "2017-08-01T00:00:00.000Z",
    "updated_at": "2017-08-01T00:00:00.000Z"
  }
]

Video player

Video

×