JackHaK / TMF

0 stars 0 forks source link

Course / Event Models administrateEventJSON #20

Closed seanthepottingshed closed 6 years ago

seanthepottingshed commented 6 years ago

@JackHaK @PeteHaK

Is it possible to make administrateEventJSON visible so that I can access this data via the API endpoints?

seanthepottingshed commented 6 years ago

If the above isn't possible of you'd prefer not to, would it be possible to pass the following values to the API endpoints:

[
    {
        name : 'Example Tutor',
        photo: 'https://placekitten.com/200/200',
        profile: 'Plain text string'
     },
    {
        name : 'Another Tutor',
        photo: 'https://placekitten.com/200/200',
        profile: 'Plain text string'
    }
]
PeteHaK commented 6 years ago

Hi sean - we've added introduction, topics, method and benefits to the course JSON - we have also tweaked the EVENT api so it now returns the Course JSON related to the Event - we've done this in DEV at the moment and will trigger an inflate to give you a better range of courses

PeteHaK commented 6 years ago

We're looking at related_courses and allowable_tutors now

seanthepottingshed commented 6 years ago

@PeteHaK @JackHaK

You're absolute LEGENDS.

I'm actually off now to collect my son from school, but will carry on first thing Monday morning. Have a fantastic weekend.

PeteHaK commented 6 years ago

Closed and replaced with specific tutors issue