DE API Documentation

View on GitHub

File manifest

URL Path: /secured/filesystem/file/manifest

HTTP Method: GET

Error Codes: ERR_DOES_NOT_EXIST, ERR_NOT_A_FILE, ERR_NOT_READABLE, ERR_NOT_A_USER

Request Query Parameters:

Response Body:

{
    "content-type" : "text/plain",
    "urls" : [],
    "infoType" : "<an info type or empty string>"
}

The urls field will contain some or none of the following:

The URLs are formatted like this:

{
    "label" : "<LABEL>",
    "url" : "<URL>"
}

For anonymous URLs, the label will be “anonymous”.

For CoGe URLs, the label with start with “gene_”.

For tree URLs, the label will usually start with “tree_”, but that’s not guaranteed (the DE doesn’t create the labels).

Curl Command:

curl -H "$AUTH_HEADER" http://127.0.0.1:3000/secured/filesystem/file/manifest?path=/iplant/home/johnw/LICENSE.txt