API introspection – List packages, resources and their interfaces
Found 2 resources
Resource class
Awo\ContentVendor\Extension\Course\Controller\Api\V1\CourseController of type
EntityController
Access controlled by
ContentVendor\Core\Api\AccessRule\ApiAccessRule
Skeleton class for controlling a row from the 'AwoCourseOfferModel' table.
Controller providing course related actions.
| Name | Type | Size | Default | Description | Visible | Mutable | Nullable |
|---|---|---|---|---|---|---|---|
| State | ENUM | OPEN | Value set: OPEN, FULLY_BOOKED, CANCELLED | yes | no | no | |
| Internal | BOOLEAN | yes | no | no | |||
| InternalPassword | VARCHAR | 24 | not set | yes | no | yes | |
| Topics | ARRAY | not set | yes | no | no | ||
| TeamContactPerson | VIRTUAL | not set | yes | no | yes | ||
| Title | VARCHAR | 128 | not set | yes | no | no | |
| Subtitle | VARCHAR | 128 | not set | yes | no | yes | |
| PdfDocumentUrl | VIRTUAL | not set | yes | no | yes | ||
| DateStart | DATE | not set | yes | no | no | ||
| DateEnd | DATE | not set | yes | no | yes | ||
| Duration | INTEGER | not set | yes | no | yes | ||
| AddressStreet | VARCHAR | 128 | not set | yes | no | no | |
| AddressZip | VARCHAR | 5 | not set | yes | no | no | |
| AddressCity | VARCHAR | 64 | not set | yes | no | no | |
| AddressGeolocationLongitude | FLOAT | not set | yes | no | no | ||
| AddressGeolocationLatitude | FLOAT | not set | yes | no | no | ||
| Uuid | VARCHAR | 36 | not set | yes | no | no |
Interfaces
Found 2 interfaces in class Awo\ContentVendor\Extension\Course\Controller\Api\V1\CourseController
Resource: Course, Method: pdfDocument
Provides the PDF document as binary if available or creates a not found response
Endpoint
GET /course-extension/api/v1/course/{uuid}/pdfDocument/ Request header
Bearer Token named Authorization Resource: Course, Method: load
Loads a model enitiy from the table defined by the model class name
Endpoint
GET /course-extension/api/v1/course/{uuid}/
GET /course-extension/api/v1/course/{uuid}
Host: /
Accept: application/json
HTTP/1.1 200 Ok
Date: Tue, 10 Nov 2020 08:47:35 +0000
Content-Length: 2021
Content-Type: application/json
{
"AwoCourseOfferModel": {
"Uuid": "123e4567-e89b-12d3-a456-426655440000",
"State": "OPEN",
"Internal": true,
"InternalPassword": "Some password required for applying to the course",
"Topics": [
"Demenz",
"Entbürokratisierung",
"Ernährung"
],
"TeamContactPerson": {
"Department": "ADMINISTRATION",
"Fullname": "Petra Schmidt",
"Position": "Gesundheits- und Krankenpflegerin",
"PortraitUrl": "\/team-extension\/api\/v1\/contact-person\/a76a8fa7-5220-4b6f-bfae-f383b0aff76b\/portrait\/",
"PhoneNumber": "+49 431 - 2400666",
"MailAddress": "service@awo-bildungscampus.de",
"AddressStreet": "Musterstrasse 123",
"AddressZip": "24105",
"AddressCity": "Kiel",
"Description": "",
"Uuid": "123e4567-e89b-12d3-a456-426655440000"
},
"Title": "Reklamationsmanagement",
"Subtitle": "Some descriptive subtitle",
"PdfDocumentUrl": "\/course-extension\/api\/v1\/course\/a76a8fa7-5220-4b6f-bfae-f383b0aff76b\/pdf-document\/",
"DateStart": "2013-11-12",
"DateEnd": "2013-11-12",
"Duration": 4096,
"AddressStreet": "Musterstrasse 123",
"AddressZip": "24105",
"AddressCity": "Kiel",
"AddressGeolocationLongitude": 3.1415926535898,
"AddressGeolocationLatitude": 3.1415926535898
},
"Notifications": [
{
"Type": "Propeller\\Lib\\ControllerNotification\\ControllerNotification",
"Message": "SOME_NOTIFICATION_MESSAGE",
"LocalizedMessage": "The localized notification message",
"Level": 1,
"LevelAsString": "notification",
"Details": [
"Localized detail message #1",
"Localized detail message #2",
"Localized detail message #3"
],
"Code": 17
}
]
} GET /course-extension/api/v1/course/{uuid}
Host: /
Accept: application/json
HTTP/1.1 200 Ok
Date: Tue, 10 Nov 2020 08:47:35 +0000
Content-Length: 2021
Content-Type: application/json
{
"AwoCourseOfferModel": {
"Uuid": "123e4567-e89b-12d3-a456-426655440000",
"State": "OPEN",
"Internal": true,
"InternalPassword": "Some password required for applying to the course",
"Topics": [
"Demenz",
"Entbürokratisierung",
"Ernährung"
],
"TeamContactPerson": {
"Department": "ADMINISTRATION",
"Fullname": "Petra Schmidt",
"Position": "Gesundheits- und Krankenpflegerin",
"PortraitUrl": "\/team-extension\/api\/v1\/contact-person\/a76a8fa7-5220-4b6f-bfae-f383b0aff76b\/portrait\/",
"PhoneNumber": "+49 431 - 2400666",
"MailAddress": "service@awo-bildungscampus.de",
"AddressStreet": "Musterstrasse 123",
"AddressZip": "24105",
"AddressCity": "Kiel",
"Description": "",
"Uuid": "123e4567-e89b-12d3-a456-426655440000"
},
"Title": "Reklamationsmanagement",
"Subtitle": "Some descriptive subtitle",
"PdfDocumentUrl": "\/course-extension\/api\/v1\/course\/a76a8fa7-5220-4b6f-bfae-f383b0aff76b\/pdf-document\/",
"DateStart": "2013-11-12",
"DateEnd": "2013-11-12",
"Duration": 4096,
"AddressStreet": "Musterstrasse 123",
"AddressZip": "24105",
"AddressCity": "Kiel",
"AddressGeolocationLongitude": 3.1415926535898,
"AddressGeolocationLatitude": 3.1415926535898
},
"Notifications": [
{
"Type": "Propeller\\Lib\\ControllerNotification\\ControllerNotification",
"Message": "SOME_NOTIFICATION_MESSAGE",
"LocalizedMessage": "The localized notification message",
"Level": 1,
"LevelAsString": "notification",
"Details": [
"Localized detail message #1",
"Localized detail message #2",
"Localized detail message #3"
],
"Code": 17
}
]
}
Request header
Bearer Token named Authorization Response data
FilteredCourseControllerModel named AwoCourseOfferModel