Buy
How to enable REST API in the sitepad

Overview


The SitePad REST API provides an interface for applications to interact with your SitePad site by sending and receiving data as JSON (JavaScript Object Notation) objects. This is the developer-oriented feature, provides data access to the content of your site, and implements same authentication restrictions such as content that is public on your site is generally publicly accessible via the REST API however private content, password-protected content, internal users, custom post types, and metadata is only available with authentication.

How to enable?


To enable the local Google fonts feature, you have to follow the below points. Go to SitePad Dashboard -> Settings-> General -> Enable Rest API -> Check the checkbox -> Save Changes



REST API Developer Endpoint Reference

Resource Overview


  • Posts
    The endpoint Post is used to retrieve a collection of posts.
    eg. curl https://example.com/sp-json/core/Posts

  • Post Revisions
    The endpoint Post Revisions is used to retrieve a collection of post revisions.
    eg. curl https://example.com/sp-json/core/posts/1/revisions

  • Categories
    The endpoint Categories is used to retrieve a collection of categories.
    eg. curl https://example.com/sp-json/core/categories

  • Tags
    The endpoint Tags is used to retrieve a collection of tags.
    eg. curl https://example.com/sp-json/core/tags

  • Pages
    The endpoint Pages is used to retrieve a collection of pages.
    eg. curl https://example.com/sp-json/core/pages

  • Page Revisions
    The endpoint Page Revisions is used to retrieve a collection of page revisions.
    eg. curl https://example.com/sp-json/core/pages/1/revisions

  • Taxonomies
    The endpoint Taxonomies is used to retrieve a collection of taxonomies.
    eg. curl https://example.com/sp-json/core/taxonomies

  • Media
    The endpoint Media is used to retrieve a collection of media.
    eg. curl https://example.com/sp-json/core/media

  • Users
    The endpoint Users is used to retrieve a collection of users.
    eg. curl https://example.com/sp-json/core/users

  • Post Types
    The endpoint Post Types is used to retrieve a collection of post types.
    eg. curl https://example.com/sp-json/core/types

  • Post Statuses
    The endpoint Post Statuses is used to retrieve a specific status record.
    eg. curl https://example.com/sp-json/core/statuses

  • Settings
    The endpoint Settings is used to retrieve a specific Site setting record.
    eg. curl https://example.com/sp-json/core/settings

  • Search
    The endpoint Search is used to retrieve a collection of search results.
    eg. curl https://example.com/sp-json/core/search
    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list