Current environment: local

Creating a REST resource / Step 3: generating the REST resource file

Table name: course

REST resource name: Courses

REST resource URL: https://api.example.com/courses

Role: table

Resource description (for OpenAPI documentation):


3.1 Methods version [?]

Methods version :


3.2 CRUD operations info [?]

Below it is necessary to specify, for each of the basic operations ( c reation, r eading, u pdating, and d eletion of instances), when a session will be automatically initiated. The cases are:

To indicate which custom commands need to initiate a session, you will have to specify this once the REST resource's PHP file is generated. For example, if there is a custom command called password reset request and we want its creation operation not to initiate a session, we will need to add "password_reset_request_v1_0" to the "aMethods_not_start_API_session" array in the REST resource's PHP file



3.3 Column translations [?]

Localization mode :


Column professor_id :

Column name :

Column year :


3.4 Column properties

professor_id :

Processed on:
Must exist on:


Description (for OpenAPI documentation):

Example values that this attribute can take (for OpenAPI documentation) :

Type (for OpenAPI documentation) :


Validation rules


name :

Processed on:
Must exist on:

Text transformation:


Description (for OpenAPI documentation):

Example values that this attribute can take (for OpenAPI documentation) :

Type (for OpenAPI documentation) :


Validation rules


year :

Processed on:
Must exist on:


Description (for OpenAPI documentation):

Example values that this attribute can take (for OpenAPI documentation) :

Type (for OpenAPI documentation) :


Validation rules



3.5 Unique constraints

No UNIQUE constraints in table course


3.6 Cross-filtering / Cross-sorting [?]

URL parameter:
CRUD operation:
Table:


📄 Output filename :