Profile response objects

Use the fields listed for the operation below. A user ID is distinct from a session ID; these profile results do not merge a new session into the user.

Profile user projections

All base fields, photos and conditional administrative fields use the full user definition. Resource-aware fields and membership/team objects use identity user definitions, with operation-specific additions:

OperationProjection
GET user, with resourceResource-aware user plus subscriptions, teams, nested subscription history and assigned tickets. No last_action.
GET user, without resourceBase global user only; no added collections.
PUT userResource-aware user plus subscriptions, teams and assigned tickets. tags appears only when request tags is an array. No last_action/history addition.
PUT social / POST social/deleteResource-aware user plus subscriptions only; no teams/history/last_action. Global Google/Facebook fields reflect stored IDs.
POST suspend / PUT subscriptions/idResource-aware user plus subscriptions and teams; no history/last_action. Suspension makes resource active false while global activation can remain true.
POST photoBase global user, with photos. Resource context is not passed to the response projection; no added subscriptions/teams/history.

subscriptions_history on GET user uses nested subscription history. It differs from the standalone endpoint’s profile history. tags contains resource/global tag slug strings; it does not expose full tag records. Collections can be empty. No profile fields grant content permission.

Assigned tickets

assigned_tickets is an array derived from the user’s assigned passes, filtered by parent event resource when a resource is supplied. Missing linked ticket records are skipped. Duplicate ticket projections can appear for multiple passes; no pagination, deduplication or ordering guarantee. These are ticket products, not full pass or attendance records.

FieldType / presenceMeaning
idstored integer IDTicket product ID.
title, descriptionstored string / nullableTicket display text.
pricestored numericStored price; currency units unspecified.
currencystored stringStored currency code.
is_privatestored flagTicket visibility flag, without explicit scalar cast here.
ti_eventbase eventParent event fields and photo collection; no ticket/pass expansion.

Ticket fetch/save hooks decode extra, but extra is not selected in this projection. They do not establish boolean/numeric casts for selected fields.

Profile history

The standalone plans/history endpoint returns items, ordered by historical relationship_id descending, with no paginator. Query/projection exceptions can yield empty/partial items. Each item contains:

FieldType / presenceMeaning
relationship_idstored integer IDHistorical membership relationship ID used for ordering.
plan_id, subscription_idstored integer IDs / nullJoined references, with stored payload fallback when absent.
plan_title, subscription_titlestored string / nullJoined display titles, falling back to historical payload. Not guaranteed current Pricing text.
subscription_start_date, subscription_end_datestored timestampHistorical interval; timezone/end-boundary semantics unspecified.
is_trial_subscriptionstored flagHistorical trial state; no scalar cast here.
is_attached_by_adminbooleantrue only when the fetched admin_id is a PHP integer; this is not a complete audit guarantee.
admin_idstored integer ID / nullRecorded admin reference.

No created_at, payload, full plan/Pricing, team or replacement projection is returned by this endpoint. Historical rows do not prove current membership or payment/refund/cancellation completion.

Full diagram

Use the arrow keys to scroll. Escape closes this view.

Search documentation

Enter at least 2 characters.

    ↑ ↓ move through results · Enter opens · Escape closes