Skip to content
Alessandro Gubitosi edited this page Oct 3, 2018 · 32 revisions

Following a complete list of the application routing:

activate_user

User activation link
Note: only admin can activate users

URI: https://www.cropontology.org/activate_user
Environment: web page
Type: GET

add-attribute

Add an attribute to a specific Ontology term

URI: https://www.cropontology.org/add-attribute
Environment: form
Type: POST

add-comment

Add a comment to an Ontology

URI: https://www.cropontology.org/add-comment
Environment: form
Type: POST

add-ontology

Add an Ontology

URI: https://www.cropontology.org/add-ontology
Environment: web page
Type: GET|POST

add-parent

NOT AVAILABLE FOR THIS VERSION

URI: https://www.cropontology.org/add-parent
Environment:
Type: GET

admin

NOT AVAILABLE FOR THIS VERSION

URI: https://www.cropontology.org/admin
Environment: web page
Type: GET

agtrials

List all agronomic trials

URI: https://www.cropontology.org/agtrials
Environment: web page
Type: GET

annotation-tool

Display a page with the Annotation Tool

URI: https://www.cropontology.org/video-tutorials
Environment: web page
Type: GET

api

List all API that allow to programmatically retrieve and interact with Ontology data

URI: https://www.cropontology.org/api
Environment: web page
Type: GET

attribute-redirect

Redirect to previous page with a message

URI: https://www.cropontology.org/attribute-redirect
Environment: feature
Type: GET
Usage: internal

attribute-upload-url

Generate an upload URL

URI: https://www.cropontology.org/attribute-upload-url
Environment: web page
Type: GET
Usage: internal

attribute-upload

Internal endpoint to upload Ontologies

URI: https://www.cropontology.org/attribute-upload
Environment: web page
Type: POST
Usage: internal

backup

List all collected data for a given "kind"

URI: https://www.cropontology.org/backup?kind= [ontology, term, etc...]
Environment: interactive JSON
Type: GET

create-term

Index a given jsonTerm in the Datastore

URI: https://www.cropontology.org/create-term
Environment: feature
Type: POST
Usage: internal

csv-download

Convert and prompt to download a given csvString

URI: https://www.cropontology.org/csv-download
Environment: web page
Type: POST

curruser-ontologies

Report all Ontologies related to the current user or to a given user_key.

URI: https://www.cropontology.org/curruser-ontologies
Environment: JSON
Type: GET

default-list

Display all data related to a given ontologyId

URI: https://www.cropontology.org/default-list
Environment: interactive JSON
Type: GET

delete_user

Delete a given userId
Note: only admin can delete users

URI: https://www.cropontology.org/delete_user
Environment: feature
Type: POST

delete-ontology

Delete a given ontologyId
Note: only admin can delete Ontologies

URI: https://www.cropontology.org/delete-ontology
Environment: feature
Type: POST

dump

Get all term in a given offset

URI: https://www.cropontology.org/dump
Environment: JSON
Type: GET

edit_profile

Edit a user profile

URI: https://www.cropontology.org/edit_profile
Environment: feature
Type: POST
Usage: internal

edit-ontology

Edit an Ontology

URI: https://www.cropontology.org/edit-ontology
Environment: web page
Type: GET|POST

edit-profile

Save user profile data

URI: https://www.cropontology.org/edit-profile
Environment: feature
Type: POST

excel-template-upload

Upload data using an Excel template

URI: https://www.cropontology.org/excel-template-upload
Environment: web page
Type: GET|POST

excel-upload-url

Generate an URL to upload data with an Excel template

URI: https://www.cropontology.org/excel-upload-url
Environment: web page
Type: GET

feedback

Display an interactive page to share feedback

URI: https://www.cropontology.org/feedback
Environment: web page
Type: GET

forgot-password

Display a form page to reset password

URI: https://www.cropontology.org/forgot-password
Environment: web page
Type: GET

get-attributes/(.*)

Display all attributes of a given termId

URI: https://www.cropontology.org/get-attributes/(.*)
Environment: JSON
Type: GET

get-attributes/([^/]*)/jsonrdf

Display all attributes of a given termId in JSON+RDF schema

URI: https://www.cropontology.org/get-attributes/([^/]*)/jsonrdf
Environment: JSON
Type: GET

get-categories

List all categories

URI: https://www.cropontology.org/get-categories
Environment: JSON
Type: GET

get-children/(.*)

Get all children related to a given `termId

URI: https://www.cropontology.org/get-children/(.*)
Environment: JSON
Type: GET

get-comments-onto

Get all the comments published on a given Ontology ID

URI: https://www.cropontology.org/get-comments-onto
Environment: JSON
Type: GET

get-comments

Get all comments on a given termId

URI: https://www.cropontology.org/get-comments
Environment: JSON
Type: GET

get-ontologies

Get all Ontologies

URI: https://www.cropontology.org/get-ontologies
Environment: JSON
Type: GET

get-ontology-id

Get the Ontology ID of a given Ontology name

URI: https://www.cropontology.org/get-ontology-id
Environment: JSON
Type: GET

get-ontology-roots/([^/]*)

Get all Ontology root data of a given Ontology ID

URI: https://www.cropontology.org/get-ontology-roots/([^/]*)
Environment: JSON
Type: GET

get-ontology/([^/]*)

Get all Ontology data of a given Ontology ID

URI: https://www.cropontology.org/get-ontology/([^/]*)
Environment: JSON
Type: GET

get-term-parents/(.*)

Get all term relations of a given term ID

URI: https://www.cropontology.org/get-term-parents/(.*)
Environment: JSON
Type: GET

get-term

Get all term data of a given term ID

URI: https://www.cropontology.org/get-term
Environment: JSON
Type: GET

get-terms-by-property

Get all terms with a given property

URI: https://www.cropontology.org/get-terms-by-property
Environment: JSON
Type: GET

get-variables

Get all variables of a given Ontology ID

URI: https://www.cropontology.org/video-tutorials
Environment: JSON
Type: GET

help

Display a help page

URI: https://www.cropontology.org/help
Environment: web page
Type: GET

httpget

NOT AVAILABLE FOR THIS VERSION

URI: https://www.cropontology.org/httpget
Environment: web page
Type: ``

ibfieldbook

Get all terms filtered by ibfieldbook

URI: https://www.cropontology.org/ibfieldbook
Environment: JSON
Type: GET

latest

Display all latest inserted terms

URI: https://www.cropontology.org/latest
Environment: GET: JSON - POST: feature
Type: GET|POST

login

GET: display logged user data
POST: login a user

URI: https://www.cropontology.org/login
Environment: web page
Type: GET|POST

logout

Log-out a current logged user

URI: https://www.cropontology.org/logout
Environment: JSON
Type: GET

memcache-clear

Clear the memcache

URI: https://www.cropontology.org/memcache-clear
Environment: feature
Type: POST

metadata

Display a metadata page in YAML format

URI: https://www.cropontology.org/ontos_stats
Environment: YAML
Type: GET

next-id

Get the next Ontology ID of a given ontology_id

URI: https://www.cropontology.org/next-id
Environment: web page
Type: GET

obo-to-json

NOT AVAILABLE FOR THIS VERSION

URI: https://www.cropontology.org/obo-to-json
Environment: web page
Type: ``

obo-upload-url

Display the URL to upload an OBO file_

URI: https://www.cropontology.org/obo-upload-url
Environment: feature
Type: GET

obo-upload

Upload an OBO file

URI: https://www.cropontology.org/obo-upload
Environment: feature
Type: POST

obo/([^/]*)

Prompt to download an OBO file of a given Ontology ID

URI: https://www.cropontology.org/obo/([^/]*)
Environment: feature
Type: GET

ontologies

Get all Ontologies ordered by name ASC

URI: https://www.cropontology.org/ontologies
Environment: JSON
Type: GET

ontology(?:/([^/]*)(?:/([^/]*)(?:/([^/]*))?)?)?

Display an Ontology page

URI: https://www.cropontology.org/ontology(?:/([^/]*)(?:/([^/]*)(?:/([^/]*))?)?)?
Environment: web page
Type: HEAD|GET

ontos_stats

Generate statistics about all indexed data

URI: https://www.cropontology.org/ontos_stats
Environment: JSON
Type: GET

primary

Set a given term IDs to primary

URI: https://www.cropontology.org/primary
Environment: feature
Type: GET

rdf/([^/]*)

Display the RDF version of a given term ID

URI: https://www.cropontology.org/rdf/([^/]*)
Environment: RDF
Type: GET

rdf/([^/]*)/(.*)

Redirect to /rdf/term ID

URI: https://www.cropontology.org/rdf/([^/]*)/(.*)
Environment: feature
Type: GET

rebuild-search-index

Rebuild a search index

URI: https://www.cropontology.org/rebuild-search-index
Environment: feature
Type: GET

register

Register an user

URI: https://www.cropontology.org/register
Environment: feature
Type: POST

remove-attribute

Remove an attribute from an Ontology

URI: https://www.cropontology.org/remove-attribute
Environment: web page
Type: POST

report

GET: Prompt to download a CSV file of a given Ontology ID
POST: Display all given Ontology ID as HTML table

URI: https://www.cropontology.org/report
Environment: feature|web page
Type: GET|POST

reset-password

GET: Display a page that allow current user to reset his password.
POST: Do the password reset

URI: https://www.cropontology.org/reset-password
Environment: web page|feature
Type: GET|POST

search

Perform a search with a given q string

URI: https://www.cropontology.org/search
Environment: JSON
Type: GET

serve

Display the OBO (plain/text) version of the Ontology by a given blob-key

URI: https://www.cropontology.org/serve
Environment: feature
Type: GET

serve/([^/]*)

Prompt to download an OBO file of a given blobKeyString

URI: https://www.cropontology.org/serve/([^/]*)
Environment: web page
Type: HEAD|GET

terms/([^/]*)/(.*)

Permalink: Jump to term description of a given term ID and description

URI: https://www.cropontology.org/terms/([^/]*)/(.*)
Environment: web page
Type: GET

user-ontologies

Get all uploaded Ontologies by a given userid

URI: https://www.cropontology.org/user-ontologies
Environment: JSON
Type: GET

users_admin

GET: allow to manage admin users.
POST: Get all admin users

URI: https://www.cropontology.org/users_admin
Environment: web page|JSON
Type: GET|POST

users

Get all users

URI: https://www.cropontology.org/users
Environment: JSON
Type: GET

users/([a-zA-Z0-9_]+)

Get data of a given user ID

URI: https://www.cropontology.org/users/([a-zA-Z0-9_]+)
Environment: JSON
Type: GET

video-tutorials

Display a page with all video-tutorials

URI: https://www.cropontology.org/video-tutorials
Environment: web page
Type: GET