call code iff user is logged in
call code iff user is logged in
Disable a route without having to comment out the entry in the routes file.
Disable a route without having to comment out the entry in the routes file. Useful for when we want to keep the code around but we don't want users to have access to it.
call code iff user has right permission for resource
call code iff user has right permission for resource
Use when you want to require the user to be logged in on a private server or the server is public.
Use when you want to require the user to be logged in on a private server or the server is public.
call code iff user is a server admin
call code iff user is a server admin
get user if logged in
get user if logged in
For a given file id, checks for the status of all extractors processing that file.
For a given file id, checks for the status of all extractors processing that file. REST endpoint GET /api/extractions/:id/status input: file id returns: a list of status of all extractors responsible for extractions on the file and the final status of extraction job
fetch the extracted metadata for the file REST end-point: GET /api/extractions/:id/value input: file id Returns status of the extraction request and metadata extracted so far
Temporary fix for BD-289: Get Details of Extractors' Servers IP, Names and Count
Return user based on request object
Return user based on request object
Multiple File Upload for a given list of files' URLs using WS API
Upload a file based on a url
Uploads file for extraction and returns a file id ; It does not index the file.
Uploads file for extraction and returns a file id ; It does not index the file. This is very similar to upload(). Needs to be decided on the semantics of upload for DTS extraction service and its difference to upload file to Clowder for curation and storage. This may change accordingly.
Json API for information about extractors and extractions.