Newsfeed

Create Newsfeed Event

Insert a newsfeed event and immediately publish its ID to PostgreSQL queue. The request body must be a valid NewsfeedEvent; the response is the numeric ID of the newly created row.

post/api/v3/newsfeed

Request

  • Base URL
    https://api.genji.pk
  • URL
    https://api.genji.pk/api/v3/newsfeed
  • Auth
    none declared

Request body

idinteger nullable
timestampstring date-time required
event_type'new_map' | 'record' | 'archive' | 'unarchive' | 'bulk_archive' | 'bulk_unarchive' | 'guide' | 'legacy_record' | 'map_edit' | 'role' | 'announcement' | 'linked_map' | 'unlinked_map' | 'null' nullable
total_resultsinteger nullable

Response

Document created, URL follows

newsfeed_idinteger required

Changes

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