...
The current proposal is based on http://jsonapi.org/
The corresponding IANA registered media type is: application/vnd.api+json
.
Resources
Anything accessible through the API is a "resource". All available resources can be listed.
Get list of observation types |
---|
Query | /resources/list |
Result | Code Block |
---|
| {
HTTP/1.1 200 OK
Content-Type: application/vnd.api+json
{
"data": [{
"peopletype" : {"resources",
"descriptionid" : "Personsperson",
or groups responsible" "title": "A person",
"baseURLlinks": {
"self" : "https://api.flarecast.eu/peoplev1/persons/"
},
"algorithms}, {
"type" : {"resources",
"descriptionid" : "Registeredalgorithm",
algorithms (read-only)" "title": "Algorithm or other software artifact",
"baseURLlinks": {
"self" : "https://api.flarecast.eu/v1/algorithms/"
},
}, "features{
"type" : {"resources",
"descriptionid" : "feature",
"title": "Features accessible through this API",
"baseURLlinks": {
"self" : "https://api.flarecast.eu/v1/features/"
},
}, {
"observationstype" : {"resources",
"descriptionid" : "observations",
"title": "Observations accessible through this API",
"baseURLlinks": {
"self" : "https://api.flarecast.eu/v1/observations/"
},
},
...
]
} |
|
Observations
The file archive is basically a directory structure from where the files can be loaded through the http:// protocol.
...