Back to GithubList subscriptions for the authenticated user (stubbed)
Lists the active subscriptions for the authenticated user. You must use a user-to-server OAuth access token, created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an OAuth token.
Input
type: object
properties:
parameters:
type: object
properties:
per_page:
type: integer
default: 30
description: The number of results per page (max 100).
page:
type: integer
default: 1
description: Page number of the results to fetch.
title: Parameters
Output
type: array
items:
type: object
title: User Marketplace Purchase
properties:
billing_cycle:
type: string
example: monthly
next_billing_date:
type: string
format: date-time
example: '2017-11-11T00:00:00.000Z'
nullable: true
unit_count:
type: integer
nullable: true
on_free_trial:
type: boolean
example: true
free_trial_ends_on:
type: string
format: date-time
example: '2017-11-11T00:00:00.000Z'
nullable: true
updated_at:
type: string
format: date-time
example: '2017-11-02T01:12:12.000Z'
nullable: true
account:
type: object
title: Marketplace Account
properties:
url:
type: string
format: uri
id:
type: integer
type:
type: string
node_id:
type: string
login:
type: string
email:
type: string
nullable: true
format: email
organization_billing_email:
type: string
nullable: true
format: email
plan:
type: object
title: Marketplace Listing Plan
properties:
url:
type: string
format: uri
example: https://api.github.com/marketplace_listing/plans/1313
accounts_url:
type: string
format: uri
example: https://api.github.com/marketplace_listing/plans/1313/accounts
id:
type: integer
example: 1313
number:
type: integer
example: 3
name:
type: string
example: Pro
description:
type: string
example: A professional-grade CI solution
monthly_price_in_cents:
type: integer
example: 1099
yearly_price_in_cents:
type: integer
example: 11870
price_model:
type: string
enum:
- FREE
- FLAT_RATE
- PER_UNIT
example: FLAT_RATE
has_free_trial:
type: boolean
example: true
unit_name:
type: string
nullable: true
state:
type: string
example: published
bullets:
type: array
items:
type: string