Categorising a new Post
-
Hi,
I’m able to create a new post using your getting started guide but the new posts are all uncategorized. I really need them to have categories assigned, and ideally tags too.
How do I achieve this? I’ve tried setting the category in the terms field on the JSON payload but it doesn’t work for me.
example payload:
{ "title": "ldap-service 1.0.3 dev deploy", "status": "publish", "type": "post", "content": "Version 1.0.3 deployed to Dev servers by $user", "terms": { "category": [ { "name": "Dev", "parent": { "name": "Releases" } } ] } }
Thanks for any help!
Rich
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Categorising a new Post’ is closed to new replies.