You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in the GraphQL API there is the signupLink attribute that provides the undecorated URL to sign up to the program item, if any.
However, we also have other forms of program linkage. At the time of writing the following ones have been recognized:
SIGNUP: Sign up
RESERVATION: Reserve seats
TICKETS: Buy tickets
RECORDING: Watch recording
FEEDBACK: Give feedback
There may be others as well.
What is proposed is adding an attribute to ProgramType called links(types: [LinkType!]) that would be an object type with fields type, title(lang: String) and href, where type is an enum of the above and others strings. If types is not provided, links of all types are returned. There may be 0…N links of each type. They could be visualized eg. like this:
Currently in the GraphQL API there is the
signupLink
attribute that provides the undecorated URL to sign up to the program item, if any.However, we also have other forms of program linkage. At the time of writing the following ones have been recognized:
SIGNUP
: Sign upRESERVATION
: Reserve seatsTICKETS
: Buy ticketsRECORDING
: Watch recordingFEEDBACK
: Give feedbackThere may be others as well.
What is proposed is adding an attribute to
ProgramType
calledlinks(types: [LinkType!])
that would be an object type with fieldstype
,title(lang: String)
andhref
, wheretype
is an enum of the above and others strings. Iftypes
is not provided, links of all types are returned. There may be 0…N links of each type. They could be visualized eg. like this:Slack discussion
Further slack discussion (as part of the #474 discussion)
The text was updated successfully, but these errors were encountered: