All URIs are relative to https://tess.elixir-europe.org
Method | HTTP request | Description |
---|---|---|
contentProvidersGet | GET /content_providers | |
contentProvidersSlugGet | GET /content_providers/{slug} |
ContentProviderCollection contentProvidersGet(opts)
import TessJsonApi from 'tess_json_api';
let apiInstance = new TessJsonApi.ContentProvidersApi();
let opts = {
'q': "q_example", // String | Search keywords.
'pageNumber': 1, // Number | The page of the collection to view.
'pageSize': 30, // Number | The number of results to return per page.
'sort': "sort_example", // String | Sort order: * default - sort by date (for Events), sort by number of resources (for Content Providers) otherwise sort by title (default). * new - Sort by when the entry was created. * mod - Sort by when the entry was last modified. * rel - Sort by search query relevance. * early - Sort by date, earliest to latest (Events only). * late - Sort by date, latest to earliest (Events only).
'keywords': ["null"], // [String] | Filter by keywords.
'node': ["null"], // [String] | Filter by ELIXIR node name.
'contentProviderType': ["null"] // [String] | Filter by content provider type.
};
apiInstance.contentProvidersGet(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
q | String | Search keywords. | [optional] |
pageNumber | Number | The page of the collection to view. | [optional] [default to 1] |
pageSize | Number | The number of results to return per page. | [optional] [default to 30] |
sort | String | Sort order: * default - sort by date (for Events), sort by number of resources (for Content Providers) otherwise sort by title (default). * new - Sort by when the entry was created. * mod - Sort by when the entry was last modified. * rel - Sort by search query relevance. * early - Sort by date, earliest to latest (Events only). * late - Sort by date, latest to earliest (Events only). | [optional] |
keywords | [String] | Filter by keywords. | [optional] |
node | [String] | Filter by ELIXIR node name. | [optional] |
contentProviderType | [String] | Filter by content provider type. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/vnd.api+json
ContentProvider contentProvidersSlugGet(slug)
import TessJsonApi from 'tess_json_api';
let apiInstance = new TessJsonApi.ContentProvidersApi();
let slug = "slug_example"; // String | The _slug_ id of a content provider e.g. goblet
apiInstance.contentProvidersSlugGet(slug, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
slug | String | The slug id of a content provider e.g. goblet |
No authorization required
- Content-Type: Not defined
- Accept: application/vnd.api+json