finalized REST endpoints for postmeta