News

The Forms Live platform keeps users informed with relevant news and updates through the News feature. On this page, we'll explore how to retrieve news items programmatically using the Forms Live API.

The news item model

The news item model contains information about updates, announcements, and other relevant news published on the Forms Live platform. These items help keep users informed about new features, updates, and other important information.

Properties

  • Name
    id
    Type
    integer
    Description

    Unique identifier for the news item.

  • Name
    title
    Type
    string
    Description

    The title of the news item.

  • Name
    content
    Type
    string
    Description

    The main content of the news item.

  • Name
    created
    Type
    timestamp
    Description

    Timestamp of when the news item was created.

  • Name
    updated
    Type
    timestamp
    Description

    Timestamp of when the news item was last updated.


GET/news/

List all news items

This endpoint allows you to retrieve a list of all news items published on the Forms Live platform.

Request

GET
/news/
curl https://app-api.reiformslive.com.au/news \
  --request GET \
  --header "Authorization: Basic YTlkOWIwYItNGY4Yi1hYTQxLTI5NzZmMTcyZmEyMQ=="

Response

[
  {
    "id": 1,
    "title": "News - Title",
    "content": "News - Content",
    "created": 1353974816,
    "updated": 1353974816
  },
  {
    "id": 2,
    // ...
  }
]

GET/news/:id

Retrieve a news item

This endpoint allows you to retrieve a specific news item by providing its ID. Refer to the list at the top of this page to see which properties are included with news item objects.

Request

GET
/news/1
curl https://app-api.reiformslive.com.au/news/1 \
  --request GET \
  --header "Authorization: Basic YTlkOWIwYItNGY4Yi1hYTQxLTI5NzZmMTcyZmEyMQ=="

Response

{
  "id": 1,
  "title": "News - Title",
  "content": "News - Content",
  "created": 1353974816,
  "updated": 1353974816
}

Was this page helpful?