I am not a junior developer. I have worked with APIs before. This just has a heck of a learning curve at the start.
I think I have created the keys and such that I need. I have:
token: AAAAAA
Added allowed origin:
http://localhost:3000
Power-Up: first-KA
workspace: KA
API key: BB
allowed origins: http://localhost:3000
secret: CCCC
Power-Up: first-RK
workspace: RK
API key: DD
allowed origins: http://localhost:3000
secret: EEEE
I am trying to do:
curl --request GET --url 'https://api.trello.com/1/boards/1/lists?key=APIKey&token=APIToken' \
--header 'Accept: application/json'
Since the board is in the RK workspace, I use DD as the APIKey and AAAA as the token. Got the response: “invalid key”
So what the heck is the valid key? And what is a valid board id? Where do I find the id for a board?
It seems that there is an obvious heirarchy here. At the top is the Workspace. Then you have Boards. Then you have Lists. Then you have Cards. Maybe the Account is above the Workspace?
So, where is the call to ask someone (a workspace, an account) for a list of the boards so that I will have the ids of the boards?
I need some id of something at the top of the heirarchy to ask for the things below it, yes? Where is the call to the top object that takes only your auth information and gives you the objects at the top of the heirarchy? What am I missing?
Much thanx for any suggestions.