One thing to start it's maybe the Richardson Maturity Model, that explain some basic things about the api rest model and how to make it good. Another one is to read about api rest .
The internet is full of things, only need to search something like "api rest guide", "api rest formats", "api rest response", "api rest app" or something similar to see so many information.
From PHP you have a lot of frameworks and libraries to help.