The following includes the details of how to interface with the post flag records through the API.
Record field format
|integer||>0, limited to Moderator+ or the flag creator|
|string||includes [normal, unapproved, rejected]|
- Plural form: "post flags"
- Used in the URL pathname
- Singular form: "post flag"
- Used for write parameters (Help:API Write Requests)
- Versions: none
These are the various actions that can be done with post flag records.
The base URL is GET /post_flags.json
Note: The default order is ID descending.
All of the following are standard attributes with all of their available formats and qualifiers.
post_tags_match- The post query of the search term matches the post of the post flag.
reason_matches- Case-insensitive wildcard search on the reason field.
creator_id- Searches for flags by creator ID. Single ID only.
creator_name- Searches for flags by creator name. Single name only.
category- Can be: normal, unapproved, rejected, deleted.
The base URL is GET /post_flags/$id.json where $id is the post flag ID.
The base URL is POST /post_flags.json