Support for blocks with Developer Rest API?

  • Unknown's avatar

    Hello,

    I’ve been exploring the Developer REST API and could not find any documentation regarding the content field when creating a post.

    The field expects html format which makes sense but is there a way I can specify for the API to convert the html into bocks? Or is there a specific format the html needs to be in for the API to process the content as blocks?

    My use case is for the “Developer REST API” and not the “WordPress REST API”

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    I’m afraid I’m not sure what you’re referring to with “Developer REST API”. If you mean the WordPress.com REST API documented at https://developer.wordpress.com/docs/api/, we’re not able to provide support for that here in the forums. These forums provide support for end-users, and neither our volunteers nor our forums staff are developers.

    For help using the WordPress.com API, please use the contact form at https://developer.wordpress.com/contact/, and someone should get back to you there.

  • The topic ‘Support for blocks with Developer Rest API?’ is closed to new replies.