getQuizAttribute

Returns an attribute of the quiz with the specified identifier.

Authentication

Optional authentication : an API access token can be provided in the URL query string to access to restricted data.

Request

Bold red : required parameter, Bold orange : at least one of parameters required, black : optional parameter.

HTTP Request

GET https://api.jelevelamain.fr/getQuizAttribute?apiKey=API_KEY&accessToken=ACCESS_TOKEN

Parameters

Each parameter is URL-encoded and added to the URL query string.

quizId Type : string
The identifier of the quiz.
attributeName Type : boolean
The name of :
  • A field in Quiz (requires the appropriate permissions). Note that the fields imported and favorite needs the requesting user to be authentified to be retrieved.
  • A computed property : "popularity" or "influence" (no requirement).

Response

An ItemAttribute modeling the requested Quiz attribute on success :

{
    "itemType" : "quiz"
    "itemId" : string
    "itemName" : string
    "itemValue" : value
}
A JllmAPIException on error. In particular :
  • A BadParameterException if no quiz is found with the specified identifier.
  • A UnauthorizedOperationException if the requesting user does not have the appropriate permission(s) to access to the specified attribute of the quiz with the specified identifier.

Try it !

You can test this request on live data and see the API response by filling the form below.

Bold red : required parameter, Bold orange : at least one of parameters required, black : optional parameter.

quizId
attributeName
The button "Execute as authenticated user" is available to connected users only. To connect, click on the "Login" button at the right top of the page.