Skip to main content

marketplace_users_subs_stubbed

Creates, updates, deletes, gets or lists a marketplace_users_subs_stubbed resource.

Overview

Namemarketplace_users_subs_stubbed
TypeResource
Idgithub.apps.marketplace_users_subs_stubbed

Fields

The following fields are returned by SELECT queries:

Response

NameDatatypeDescription
accountobject (title: Marketplace Account)
billing_cyclestring (example: monthly)
free_trial_ends_onstring (date-time) (example: 2017-11-11T00:00:00Z)
next_billing_datestring (date-time) (example: 2017-11-11T00:00:00Z)
on_free_trialboolean
planobjectMarketplace Listing Plan (title: Marketplace Listing Plan)
unit_countinteger
updated_atstring (date-time) (example: 2017-11-02T01:12:12Z)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_subscriptions_for_authenticated_user_stubbedselectper_page, pageLists the active subscriptions for the authenticated user.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
pageintegerThe page number of the results to fetch. For more information, see "Using pagination in the REST API."
per_pageintegerThe number of results per page (max 100). For more information, see "Using pagination in the REST API."

SELECT examples

Lists the active subscriptions for the authenticated user.

SELECT
account,
billing_cycle,
free_trial_ends_on,
next_billing_date,
on_free_trial,
plan,
unit_count,
updated_at
FROM github.apps.marketplace_users_subs_stubbed
WHERE per_page = '{{ per_page }}'
AND page = '{{ page }}'
;