FTP-Stream APIs
Space shortcuts

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

API endpoint

To perform FTP-Stream API the client application should send api_key. You can obtain api_key on FTP-Stream Control Panel visiting your FTP-Stream account in the Site Properties tab.

URL: https://www.maytech.net/panel/api/<api-version>/<route>[/<action>][/<object-id>]?api_key=<api_key>[&optional_get_parameters]

 

  • <api-version> - API Version. Current version is 1.0
  • <route> - FTP-Stream API route.
  • <action> - FTP-Stream API action.
  • <object-id> - universally unique FTP-Stream object identifier.
  • <api_key> - FTP-Stream API key.
  • <optional_get_parameters> - optional request parameters

Example Request URL

Code Block
languagejs
GET https://www.maytech.net/panel/api/1.0/user/00000000-0000-0000-0000-000000000000/?api_key=12345678-0000-0000-0000-000000000000&fields=login,real_name
 

Example Result

Code Block
languagejs
HTTP/1.1 200 OK
Content-Type: application/json

{"status":"OK","data":{"login":"demo","real_name":"John Smith"}}