hands-on tutorial, slides, test?
TeSS Test - Complete Material Example
THIS IS AN EXAMPLE OF A VERY LARGE MARKDOWN DESCRIPTION:
TeSS
ELIXIR's Training e-Support Service using Ruby on Rails.
TeSS makes use of the following services to function:
- PostgreSQL - Database
- Solr - Search
- Sidekiq - Asynchronous tasks
- Redis - Caching
- Nominatim - Geocoding
- Google Maps API - Maps and address autocompletion
Installation
Development
TeSS can either be installed using Docker, or natively on an Ubuntu-like OS
(some Mac OSX guidance also provided).
Production
To run TeSS in production, see either the Docker guide,
or the Ubuntu-like OS guide.
Customization
See here for an overview of how you can customize your TeSS deployment.
API
TeSS has 2 JSON APIs, a newer JSON-API conformant API that is currently read-only,
and a legacy API that supports both read and write, but only for Events and Materials.
Authentication
Both APIs use token authentication. You can see/change your API token from your TeSS profile page.
You can pass your credentials either using HTTP headers:
X-User-Email lisa@example.com
X-User-Token 65gONMyVZXXkgnksghzB
or in your request:
json
{
"user_email" : "lisa@example.com",
"user_token" : "65gONMyVZXXkgnksghzB",
"material": {
"title": "API example",
...
}
}
JSON-API
A read-only API conforming to the JSON-API specification.
Currently supports viewing, browsing, searching and filtering across Events, Materials, Workflows, Providers and Users.
Click here to view documentation
A record can be viewed through this API by appending .json_api
to the URL, for example:
http://localhost:3000/materials.json_api
http://localhost:3000/materials/1.json_api
Legacy API
A simple read/write API supporting Events and Materials.
Click here to view documentation
A record can be viewed as json by appending .json
to the URL, for example:
http://localhost:3000/materials.json
http://localhost:3000/materials/1.json
Example
To create a material by posting, post to this URL:
http://localhost:3000/materials.json
Structure the JSON thus:
{
"user_email": "you@your.email.com",
"user_token": "your_authentication_token",
"material": {
"title": "API example",
"url": "http://example.com",
"description": "This API is fun and easy",
"doi": "Put some stuff in here"
}
}
DOI: https://doi.org/10.1093/bioinformatics/btaa047
Licence: BSD 3-Clause "New" or "Revised" License
Contact: Please contact Finn Bacall (finn.bacall@ma...)
Keywords: material, example, keywords
Target audience: Researchers, Training providers, Software developers
Resource type: hands-on tutorial, slides, test?
Other types: this field is for types that were not in the vocab i guess
Version: 1.3
Status: Under development
Subsets: not sure what this is - added as part of DReSA work
Prerequisites:
- Must have a computer
- Must have internet access
- Must have a modern web browser
Syllabus:
this field supports markdown
bla blabal
Learning objectives:
Objectives
Learn how to use TeSS to training discover events and materials
this field supports markdown
Date created: 2015-09-25
Date modified: 2022-09-26
Date published: 2016-03-08
Contributors: Niall Beard, Finn Bacall, Milo Thurston, Nick May, Chris Child, Milo Thurston, Daan van Vugt, Aitor Apaolaza
Scientific topics: Sequence analysis
Operations: Sequence generation
Activity log