GET Project File Names
- GET /api/projects/(pid)/name
Gets all the stored filenames on the server that can be used to make models for a given project
- Status Codes:
200 OK –
- Response Headers:
Content-Type – application/json
Sample Request
GET api/projects/fe372daf01f75276c7e5228e6e000024/name HTTP/1.1 Host: localhost:9000 Connection: keep-alive Accept: application/json, text/javascript, */*; q=0.01 X-Requested-With: XMLHttpRequest User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36 Referer: https://localhost:9000/models/b26d9a5d7b2f44729bffccad51fdfcf9?bid=405d84f7553f53736beabdf874d55356 Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Cookie: slycatauth=e9528234ede94e159fc21ef2f744323f; slycattimeout=timeout
Sample Response
HTTP/1.1 200 OK X-Powered-By: Express content-type: application/json;charset=utf-8 content-length: 43 expires: 0 server: CherryPy/18.8.0 pragma: no-cache cache-control: no-cache, no-store, must-revalidate date: Fri, 20 Oct 2023 15:55:35 GMT connection: close [{"file_name": "2023-12-11 23:26:06_cars_small.csv"}]