Lesson 2: Data Models & Roles
Goal: Create a simple model for representing a HelpDesk issue.
Introduction to Data Models
Note: You don’t have to add attributes for “created” and “last updated” time stamps. Every model has system-generated attributes called created_at, updated_at, and id that are automatically set and updated when records are created and updated. We’ll see how to use them in later lessons.
Introduction to Roles
Note: With Appivo you don’t have to worry about user management or authentication. The Appivo Platform takes care of that for you! We’ll learn more about users in future lessons.
Great work! You’ve taken your first step in building a HelpDesk app.
Proceed to the next lesson to see how things start to come together. Or continue below to learn a little about the Appivo REST API.
The Appivo REST API
Every app has a REST API that is automatically created and maps to its unique data model. The URL pattern is:
https://apps.appivo.com/api/app/<app-name>/model/<model-name>/record
The standard REST API operations are available:
- POST
- PUT
- GET
- DELETE
Go Further!
Try out the REST API using the Chrome Postman plugin.