discussions

List all Discussions

get/discussions/

Request

  • Base URL
    https://data.public.lu/api/1
  • URL
    https://data.public.lu/api/1/discussions/
  • Auth
    none declared

Query parameters

sort'created' | 'title' | 'closed' | 'discussion.posted_on' | '-created' | '-title' | '-closed' | '-discussion.posted_on'

The field (and direction) on which sorting apply

closedboolean

Filters discussions on their closed status if specified

forstring[]

Filter discussions for a given subject

orgstring

Filter discussions for a given organization

userstring

Filter discussions created by a user

pageinteger

The page to fetch

page_sizeinteger

The page size to fetch

Headers

X-Fieldsstring mask

An optional fields mask

Response

Success

next_pagestring

The next page URL if exists

pageinteger required

The current page

page_sizeinteger required

The page size used for pagination

previous_pagestring

The previous page URL if exists

totalinteger required

The total paginated items

Example response

{
  "data": [
    {
      "discussion": {
        "spam": {
          "status": "not_checked"
        }
      },
      "spam": {
        "status": "not_checked"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 20 revisions of this API.