Skip to main content

MacTrove's forum archive is queryable over Drupal's core JSON:API. Every archived forum post and thread is available as JSON without needing an API key.

Endpoints

  • GET /jsonapi/node/forum_post — list / filter archived posts
  • GET /jsonapi/node/forum_post/{uuid} — single post
  • GET /jsonapi/node/forum_thread — list / filter threads
  • GET /jsonapi/node/forum_thread/{uuid} — single thread
  • GET /jsonapi/taxonomy_term/forum_source — list source forums
  • GET /jsonapi/taxonomy_term/forum_category — list categories

Filtering examples

GET /jsonapi/node/forum_post?filter[field_thread_id]=12345&sort=field_post_number
GET /jsonapi/node/forum_thread?filter[source][condition][path]=field_source_forum.name&filter[source][condition][value]=68kMLA
GET /jsonapi/node/forum_post?filter[date][condition][path]=field_post_date&filter[date][condition][operator]=%3E%3D&filter[date][condition][value]=2001-01-01

Pagination

Default page size is 50, max 200. Use ?page[limit]=50&page[offset]=100.

Includes

Pull related taxonomy in one call:

GET /jsonapi/node/forum_thread?include=field_source_forum,field_category

Rate limiting

Public endpoints are cached behind Varnish; anonymous clients should not see rate limits under normal use. Please identify yourself with a descriptive User-Agent header.

mp.ls