• Resolved jer1ko

    (@jer1ko)


    Hi, I am building some features on my site that use the WPRM rest api to fetch the recipe, but I noticed that I can fetch the recipes without auth. I would imagine that this should require login to prevent recipe scraping. Also, what is the default permission level to add/update recipes through the API.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Brecht

    (@brechtvds)

    If a recipe is published on your website (and publicly visible there) it will be visible through the API as well.

    Recipes are a regular custom post type that follows the post capabilities by default. So someone who can create/edit posts can create/edit recipes.

    Thread Starter jer1ko

    (@jer1ko)

    Ok… that makes sense, thank you for the quick reply.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘REST API default permissions’ is closed to new replies.