Skip to content
This repository was archived by the owner on Apr 4, 2022. It is now read-only.
This repository was archived by the owner on Apr 4, 2022. It is now read-only.

API URL not available / wp_api_keys is not created #48

Description

@webslice

Hello,

I have installed Rooftop CMS on my own AWS EC2 instance, and I have followed the following guide: https://rooftopcms.readme.io/docs/installing-a-development-environment except for the VVV part of course.

The CMS itself seems to be working fine. When I tried to add a user for the API key, I got an error. After checking out the issues on GitHub, the fix in issue #28 seems to have worked for me as well by creating the appropriate table:

CREATE TABLE wp_api_keys ( id MEDIUMINT NOT NULL AUTO_INCREMENT, key_name VARCHAR(256) NOT NULL, domain VARCHAR(256) NOT NULL, api_key VARCHAR(256) NOT NULL, user_id INTEGER NOT NULL, PRIMARY KEY(id), INDEX(domain), INDEX(api_key));

After this I was able to create the user, but I was not able to authenticate with this API key, because it seems that the /wp-json/wp/v2/posts is missing. I unfortunately receive a 404.

What could possibly go wrong here? Did I miss a step or something that specifically creates MySQL tables, and installs the API endpoint etc? If you need more information, please let me know.

Thank you in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions