Convention
A Convention in Intercode is essentially a web site hosted by Intercode. A Convention can represent an actual, real-world convention (and this is probably the most common use case), but it can also represent a single event (if the site_mode is set to single_event) or a series of events over time (if the site_mode is set to event_series).
They're called Convention for historical reasons, because naming is hard. Sorry. It's probably best to think of them as "web site."
type Convention implements CmsParent {
accepting_proposals: Boolean
bio_eligible_user_con_profiles: [UserConProfile!]!
canceled: Boolean!
catch_all_staff_position: StaffPosition
clickwrap_agreement: String
clickwrap_agreement_html: String
cmsContentGroup(
id: ID!
): CmsContentGroup!
cmsContentGroups: [CmsContentGroup!]!
cmsFiles: [CmsFile!]!
cmsGraphqlQueries: [CmsGraphqlQuery!]!
cmsLayouts: [CmsLayout!]!
cmsNavigationItems: [CmsNavigationItem!]!
cmsPage(
id: ID
rootPage: Boolean
slug: String
): Page!
cmsPages: [Page!]!
cmsPartials: [CmsPartial!]!
cmsVariables: [CmsVariable!]!
coupon(
id: ID!
): Coupon!
coupons_paginated(
filters: CouponFiltersInput
page: Int
per_page: Int
sort: [SortInput!]
): CouponsPagination!
created_at: Date
defaultLayout: CmsLayout!
default_currency_code: String
departments: [Department!]!
domain: String
effectiveCmsLayout(
path: String!
): CmsLayout!
email_from: String!
email_mode: EmailMode!
ends_at: Date
event(
id: ID!
): Event!
event_categories(
current_ability_can_read_event_proposals: Boolean
): [EventCategory!]!
event_mailing_list_domain: String
event_proposal(
id: ID!
): EventProposal!
event_proposals_paginated(
filters: EventProposalFiltersInput
page: Int
per_page: Int
sort: [SortInput!]
): EventProposalsPagination!
events(
filters: EventFiltersInput
finish: Date
includeDropped: Boolean
start: Date
): [Event!]!
events_paginated(
filters: EventFiltersInput
page: Int
per_page: Int
sort: [SortInput!]
): EventsPagination!
favicon: ActiveStorageAttachment
favicon_url: String @deprecated
form(
id: ID!
): Form!
forms: [Form!]!
fullTextSearch(
query: String!
): SearchResult!
hidden: Boolean!
id: ID!
language: String!
liquidAssigns: [LiquidAssign!]!
location: Json
mailing_lists: MailingLists!
maximum_event_signups: ScheduledValue @deprecated
maximum_tickets: Int
my_profile: UserConProfile
my_signup_ranked_choices: [SignupRankedChoice!]!
my_signup_requests: [SignupRequest!]!
my_signups: [Signup!]!
name: String!
notification_templates: [NotificationTemplate!]!
notifier_liquid_assigns(
eventKey: String!
): [LiquidAssign!]!
open_graph_image: ActiveStorageAttachment
open_graph_image_url: String @deprecated
order(
id: ID!
): Order!
orders_paginated(
filters: OrderFiltersInput
page: Int
per_page: Int
sort: [SortInput!]
): OrdersPagination!
organization: Organization
pre_schedule_content_html: String
previewLiquid(
content: String!
): String!
previewMarkdown(
eventId: ID
eventProposalId: ID
markdown: String!
): String!
preview_notifier_liquid(
content: String!
eventKey: String!
): String!
product(
id: ID!
): Product!
products(
only_available: Boolean
only_ticket_providing: Boolean
): [Product!]!
reports: ConventionReports!
rooms: [Room!]!
rootPage: Page!
run(
id: ID!
): Run!
runs_paginated(
filters: RunFiltersInput
page: Int
per_page: Int
sort: [SortInput!]
): RunsPagination!
show_event_list: ShowSchedule
show_schedule: ShowSchedule
signup(
id: ID!
): Signup!
signup_automation_mode: SignupAutomationMode!
signup_changes_paginated(
filters: SignupChangeFiltersInput
page: Int
per_page: Int
sort: [SortInput!]
): SignupChangesPagination!
signup_counts_by_state: [SignupCountByState!]!
signup_mode: SignupMode!
signup_requests_open: Boolean!
signup_requests_paginated(
filters: SignupRequestFiltersInput
page: Int
per_page: Int
sort: [SortInput!]
): SignupRequestsPagination!
signup_round(
id: ID!
): SignupRound!
signup_rounds: [SignupRound!]!
site_mode: SiteMode!
staff_position(
id: ID!
): StaffPosition!
staff_positions: [StaffPosition!]!
starts_at: Date
stripe_account: StripeAccount
stripe_account_id: String
stripe_account_ready_to_charge: Boolean!
stripe_publishable_key: String
ticketNamePlural: String!
ticket_mode: TicketMode!
ticket_name: String!
ticket_types: [TicketType!]!
tickets_available_for_purchase: Boolean!
timezone_mode: TimezoneMode!
timezone_name: String
typeaheadSearchCmsContent(
name: String
): [CmsContent!]!
updated_at: Date
user_activity_alert(
id: ID!
): UserActivityAlert!
user_activity_alerts: [UserActivityAlert!]!
user_con_profile(
id: ID!
): UserConProfile!
user_con_profile_by_user_id(
userId: ID!
): UserConProfile!
user_con_profile_form: Form!
user_con_profiles_paginated(
filters: UserConProfileFiltersInput
page: Int
per_page: Int
sort: [SortInput!]
): UserConProfilesPagination!
}
Fields
Convention.accepting_proposals
● Boolean
scalar
Is this convention currently accepting event proposals?
Convention.bio_eligible_user_con_profiles
● [UserConProfile!]!
non-null object
User profiles in this convention that can have a bio (because they're staff or event team members).
Convention.canceled
● Boolean!
non-null scalar
Is this convention canceled?
Convention.catch_all_staff_position
● StaffPosition
object
If this convention's email_mode is set to staff_emails_to_catch_all, all email sent to staff position email addresses at this convention will be forwarded to this staff position.
Convention.clickwrap_agreement
● String
scalar
A clickwrap agreement, in Liquid format. If present, users will have to agree to this before they're allowed to use the web site.
Convention.clickwrap_agreement_html
● String
scalar
The value of clickwrap_agreement, rendered as HTML.
Convention.cmsContentGroup
● CmsContentGroup!
non-null object
Finds a CMS content group by ID within the domain name of this HTTP request. If there is no CMS content group with that ID, or the CMS content group is associated with a different domain name, errors out.
Convention.cmsContentGroup.id
● ID!
non-null scalar
The ID of the CMS content group to find.
Convention.cmsContentGroups
● [CmsContentGroup!]!
non-null object
Returns all CMS content groups within the current domain.
Convention.cmsFiles
● [CmsFile!]!
non-null object
Returns all CMS files within the current domain.
Convention.cmsGraphqlQueries
● [CmsGraphqlQuery!]!
non-null object
Returns all CMS GraphQL queries within the current domain.
Convention.cmsLayouts
● [CmsLayout!]!
non-null object
Returns all CMS layouts within the current domain.
Convention.cmsNavigationItems
● [CmsNavigationItem!]!
non-null object
Returns all CMS navigation items within the current domain.
Convention.cmsPage
● Page!
non-null object
Finds a CMS page within the domain name of this HTTP request. Exactly one of the three
optional arguments (id
, slug
, and rootPage
) must be specified. These each represent a
different way of finding a page. If the desired page can't be found within the current
domain name, errors out.
Convention.cmsPage.id
● ID
scalar
The ID of the page to find.
Convention.cmsPage.rootPage
● Boolean
scalar
If true, returns the root page for this domain.
Convention.cmsPage.slug
● String
scalar
The unique slug of the page to find.
Convention.cmsPages
● [Page!]!
non-null object
Returns all CMS pages within the current domain.
Convention.cmsPartials
● [CmsPartial!]!
non-null object
Returns all CMS partials within the current domain.
Convention.cmsVariables
● [CmsVariable!]!
non-null object
Returns all CMS variables within the current domain.
Convention.coupon
● Coupon!
non-null object
Find a coupon by ID.
Convention.coupon.id
● ID!
non-null scalar
The ID of the coupon to find.
Convention.coupons_paginated
● CouponsPagination!
non-null object
Convention.coupons_paginated.filters
● CouponFiltersInput
input
Filters to restrict what items will appear in the result set.
Convention.coupons_paginated.page
● Int
scalar
The page number to return from the result set. Page numbers start with 1.
Convention.coupons_paginated.per_page
● Int
scalar
The number of items to return per page. Defaults to 20, can go up to 200.
Convention.coupons_paginated.sort
● [SortInput!]
list input
A set of fields to use for ordering the result set. The second field is used as a tiebreaker for the first, the third field is used as a tiebreaker for the first two, and so on. If the sort argument is missing or empty, the order of items will be left up to the database (and may be unpredictable).
Convention.created_at
● Date
scalar
When this convention was created.
Convention.defaultLayout
● CmsLayout!
non-null object
Returns the default CMS layout used in this domain.
Convention.default_currency_code
● String
scalar
The ISO 4217 currency code used by default for products in this convention. If null, defaults to USD.
Convention.departments
● [Department!]!
non-null object
All the departments in this convention.
Convention.domain
● String
scalar
The domain name used for serving this convention web site.
Convention.effectiveCmsLayout
● CmsLayout!
non-null object
Returns the CMS layout to be used for a particular URL path within the current domain. (This will be the page-specific layout if the URL corresponds to a page with a layout override, or the default layout for the domain otherwise.)