API Investigation:FTPfiles
From ToxBank API Wiki
(Difference between revisions)
Mrautenberg (Talk | contribs) (Created page with "{{REST Operations |REST_op_description=Get a list of uploaded FTP files of a user |REST_resource=Investigation |REST_op_method=GET |REST_op_uri=/investigation/ftpfiles |REST_head...") |
Mrautenberg (Talk | contribs) |
||
Line 4: | Line 4: | ||
|REST_op_method=GET | |REST_op_method=GET | ||
|REST_op_uri=/investigation/ftpfiles | |REST_op_uri=/investigation/ftpfiles | ||
− | |REST_header_param=Accept: one of < text/uri-list, application/json > , subjectid:SECURITY-TOKEN | + | |REST_header_param=Accept: one of < text/uri-list, application/json > , subjectid:SECURITY-TOKEN |
|REST_op_result=list of files | |REST_op_result=list of files | ||
− | |REST_op_mime_output= application/json text/uri-list | + | |REST_op_mime_output=application/json text/uri-list |
|REST_op_status=200 | |REST_op_status=200 | ||
}} | }} | ||
+ | ==== cURL example ==== | ||
+ | |||
+ | curl -X GET -k -H "Accept:application/json" -H "subjectid:MYTOKEN" https://services.toxbank.net/investigation/ftpfiles |
Revision as of 08:47, 22 May 2014
Description | Get a list of uploaded FTP files of a user |
---|---|
Resource | Investigation |
Method | GET |
URI | /investigation/ftpfiles |
Parameters | |
Header Parameters | Accept: one of < text/uri-list, application/json > , subjectid:SECURITY-TOKEN |
Media Type (input) | |
Results | list of files |
Media Type (output) | application/json text/uri-list |
Status code | 200 |
cURL example
curl -X GET -k -H "Accept:application/json" -H "subjectid:MYTOKEN" https://services.toxbank.net/investigation/ftpfiles
Facts about API Investigation:FTPfilesRDF feed
Acts on | Investigation + |
Has output media type | application/json text/uri-list + |
Has status code | 200 + |