Actu API Doc
Add yourself or your unit/group as a member of the group actu-api-rest-consumers (https://groups.epfl.ch/cgi-bin/groups/viewgroup?groupid=S23511) in order to be notified of changes in the API.
categories
list
List all Category objects.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
limit | Number of results to return per page. |
offset | The initial index from which to return the results. |
fr_label | |
en_label | |
de_label | |
search | A search term. |
read
Return the details about the given Category id.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this category. |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
fr_label | |
en_label | |
de_label | |
search | A search term. |
channels
list
List all Channel objects.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
limit | Number of results to return per page. |
offset | The initial index from which to return the results. |
name | |
fr_description | |
en_description | |
de_description | |
is_active | |
search | A search term. |
read
Return the details about the given Channel id.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
name | |
fr_description | |
en_description | |
de_description | |
is_active | |
search | A search term. |
news
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
projects
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
faculties
list
List all Faculty objects.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
limit | Number of results to return per page. |
offset | The initial index from which to return the results. |
fr_label | |
en_label | |
de_label | |
search | A search term. |
read
Return the details about the given Faculty id.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this Faculty. |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
fr_label | |
en_label | |
de_label | |
search | A search term. |
news
list
List all News objects.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
limit | Number of results to return per page. |
offset | The initial index from which to return the results. |
title | Filters the news containing the given text in their title. Case insensitive. |
subtitle | Filters the news containing the given text in their subtitle. Case insensitive. |
text | Filters the news containing the given text in their text. Case insensitive. |
channel | Integer: Channel ID. Return only the news in the given channel. |
category | Integer: Category ID. Return only the news linked to the given category. |
themes | Integer: Theme ID. Return only the news linked to the given theme. |
publics | Integer: Public ID. Return only the news linked to the given public. |
faculties | Integer: Faculty ID. Return only the news linked to the given faculty. |
projects | Integer: Project ID. Return only the news linked to the given project. |
search | A search term. |
lang | Prefered language for the news |
read
Return the details about the given News id.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
news__pk required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
title | Filters the news containing the given text in their title. Case insensitive. |
subtitle | Filters the news containing the given text in their subtitle. Case insensitive. |
text | Filters the news containing the given text in their text. Case insensitive. |
channel | Integer: Channel ID. Return only the news in the given channel. |
category | Integer: Category ID. Return only the news linked to the given category. |
themes | Integer: Theme ID. Return only the news linked to the given theme. |
publics | Integer: Public ID. Return only the news linked to the given public. |
faculties | Integer: Faculty ID. Return only the news linked to the given faculty. |
projects | Integer: Project ID. Return only the news linked to the given project. |
search | A search term. |
lang | Prefered language for the news |
projects
list
List all Project objects.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
limit | Number of results to return per page. |
offset | The initial index from which to return the results. |
fr_label | |
en_label | |
de_label | |
search | A search term. |
read
Return the details about the given Project id.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this project. |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
fr_label | |
en_label | |
de_label | |
search | A search term. |
publics
list
List all Public objects.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
limit | Number of results to return per page. |
offset | The initial index from which to return the results. |
fr_label | |
en_label | |
de_label | |
search | A search term. |
read
Return the details about the given Public id.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this public. |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
fr_label | |
en_label | |
de_label | |
search | A search term. |
themes
list
List all Theme objects.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
limit | Number of results to return per page. |
offset | The initial index from which to return the results. |
fr_label | |
en_label | |
de_label | |
search | A search term. |
read
Return the details about the given Theme id.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this theme. |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
fr_label | |
en_label | |
de_label | |
search | A search term. |