EduPaid's (AI)PI makes it easy to build solutions with AI. The (AI)PI bundle adds all the context that any AI agent needs to understand how the EduPAid API works and how to leverage it to build real world apps.
(AI)PI JSON
Down the schema.json file and attach it to your AI prompts.
Create a single-page app that makes a GraphQL call to get all Learning blocks and
displays the results in a table. The fields shown in the table should be :
1. Name
2. Grade
3. Amount
4. Academic Year
Next, Add a button at the end of every row called “View Prerequisites” that
lists all the prerequisites that are associated with the learning block item of
that row.
The GraphQL schema and API calls are defined in the attached schema.json file.
The GraphQL endpoint is: https://api.edupaid.2hourlearning.com/graphql/v1
Add 2 textboxes at the top of the page that allow the users to add the bearer
token and api key. the text of the bearer token and api key should be
hidden/obfuscated
Both the bearer token and api key need to be used to make the GraphQL calls.
When a user clicks on a “View Prerequisites” button on a row, show a
modal that lists all the prerequisites that are associated with the learningblock
on the row.
The table should have the following columns. 1. Name 2. Category 3. Academic Year
4. Description 5. Frequency 6. Certifier 7. Reporter
The heading of the modal should be the name of the learning block. Add a toggle
button with the label “Hide non-academic requirements”.
When this toggle is turned on, only show prerequisites where the category is
either CASEItemMastery or CASEItem2X.
Also add a download button on the top right of the modal.