Skip to content
This repository was archived by the owner on Apr 27, 2024. It is now read-only.

MOAR ENDPOINTS! #3

Open
fake-name opened this issue Sep 20, 2015 · 1 comment
Open

MOAR ENDPOINTS! #3

fake-name opened this issue Sep 20, 2015 · 1 comment

Comments

@fake-name
Copy link

Apparently doing a simple HTTP request for api.patreon.com yields a complete list of endpoints.

Huh.

Also, apparently patreon is powered by python: (400, 'invalid-parameters', <_ast.Str object at 0x7f02dfdeef60>) (_ast.Str is a python class).

The thing that really interests me here is the /current_user?include=pledges endpoint, which allows the enumeration of all the pledges you have placed (I'm working on a script to archive all patreon content from the artists I support).

Endpoint list:



    Routes
    GET /CSRFTicket

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /admin/payments/events

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            ApiResourceCollection
    Errors
        No expected errors 

    GET /admin/payments/events/stats

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PaymentEventStats
    Errors
        No expected errors 

    GET /admin/payments/pledges

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            ApiResourceCollection
    Errors
        No expected errors 

    GET /android_version

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /apps/versions/<string:os_string>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    POST /auth/forgot-password

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /campaign-settings/<string:campaign_settings_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            CampaignSettingsResource
    Errors
        No expected errors 

    PATCH /campaign-settings/<string:campaign_settings_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            CampaignSettingsResource
    Errors
        No expected errors 

    GET /campaign/current_campaign

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            CampaignResource
    Errors
        No expected errors 

    GET /campaigns/<int:campaign_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            CampaignResource
    Errors
        No expected errors 

    GET /campaigns/<int:campaign_id>/drafts

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PostsCollection
    Errors
        No expected errors 

    GET /campaigns/<int:campaign_id>/patrons

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UsersCollection
    Errors
        No expected errors 

    POST /campaigns/<int:campaign_id>/post

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PostResource
    Errors
        No expected errors 

    GET /campaigns/<int:campaign_id>/posts

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PostsCollection
    Errors
        No expected errors 

    GET /campaigns/<int:campaign_id>/qualified_status

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    PUT /campaigns/<int:campaign_id>/qualified_status

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
            (400, 'invalid-parameters', <_ast.Str object at 0x7f02e006df28>)

    DELETE /campaigns/<int:campaign_id>/qualified_status

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    POST /campaigns/<string:campaign_id>/cover-photo

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            CampaignResource
    Errors
        No expected errors 

    GET /campaigns/<string:campaign_ids>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            ApiResourceCollection
    Errors
        No expected errors 

    GET /campaigns/approved

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /campaigns/by_creator/<int:creator_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            ApiResourceCollection
    Errors
        No expected errors 

    GET /campaigns/disapproved

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /campaigns/featured

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /campaigns/qualified

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    POST /card

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            CardResource
    Errors
        No expected errors 

    GET /cards

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /categories

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UserCategoriesCollection
    Errors
        No expected errors 

    GET /categories/<int:category_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            CategoryResource
    Errors
        No expected errors 

    POST /comment

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    PATCH /comment/<int:comment_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
            (404, 'generic-error', 'A runtime check failed.')

    DELETE /comment/<int:comment_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /comment/<int:comment_id>/replies

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            CommentRepliesCollection
    Errors
        No expected errors 

    GET /comment/<int:comment_id>/votes

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            ApiResourceCollection
    Errors
        No expected errors 

    POST /comment/<int:comment_id>/votes

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            CommentVoteResource
    Errors
        No expected errors 

    GET /countries

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            Countries
    Errors
        No expected errors 

    PATCH /current_user

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UserResource
    Errors
        No expected errors 

    GET /current_user

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
            UserResource
    Errors
        No expected errors 

    POST /embed

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    POST /follow

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            FollowResource
    Errors
        No expected errors 

    GET /follow-settings/<string:follow_settings_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            FollowSettingsResource
    Errors
        No expected errors 

    PATCH /follow-settings/<string:follow_settings_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            FollowSettingsResource
    Errors
        No expected errors 

    DELETE /follow/<string:follow_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    POST /images_comments

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    POST /likes

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
            (409, 'existing-resource', <_ast.Str object at 0x7f02e015c898>)
            (400, 'invalid-parameters', <_ast.Str object at 0x7f02dfef1b38>)

    DELETE /likes

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
            (409, 'non-existent-resource', <_ast.Str object at 0x7f02e0181198>)
            (400, 'invalid-parameters', <_ast.Str object at 0x7f02dfe7d908>)

    POST /login

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UserResource
    Errors
            (400, 'invalid-parameters', <_ast.Str object at 0x7f02e0174dd8>)

    GET /notifications

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /notifications/<string:notification_id>/links/comments

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /notifications/<string:notification_id>/links/likes-notifications

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /notifications/<string:notification_id>/links/pledge-notifications

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /patrons

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    POST /pledges

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    DELETE /pledges/<int:campaign_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /posts/<int:post_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PostResource
    Errors
        No expected errors 

    POST /posts/<int:post_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PostResource
    Errors
        No expected errors 

    DELETE /posts/<int:post_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /posts/<int:post_id>/attachments

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            AttachmentsCollection
    Errors
        No expected errors 

    POST /posts/<int:post_id>/attachments

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            AttachmentResource
    Errors
        No expected errors 

    GET /posts/<int:post_id>/attachments/<int:attachment_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            AttachmentResource
    Errors
        No expected errors 

    DELETE /posts/<int:post_id>/attachments/<int:attachment_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /posts/<int:post_id>/comments

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /posts/<int:post_id>/comments/<int:comment_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            CommentResource
    Errors
        No expected errors 

    GET /posts/<int:post_id>/edit

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PostResource
    Errors
        No expected errors 

    GET /posts/<int:post_id>/likes

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PostLikesCollection
    Errors
            (403, 'generic-error', 'A runtime check failed.')

    POST /posts/<int:post_id>/post_file

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PostResource
    Errors
        No expected errors 

    POST /posts/<int:post_id>/thumbnail

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PostResource
    Errors
        No expected errors 

    POST /posts/<int:post_id>/undelete

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PostResource
    Errors
        No expected errors 

    GET /posts/new

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PostResource
    Errors
        No expected errors 

    POST /presence

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
            (403, 'generic-error', 'A runtime check failed.')

    POST /push-info

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    DELETE /push-info

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    POST /resend_verify_email

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
            (403, 'generic-error', 'A runtime check failed.')

    GET /reward/<int:reward_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            RewardResource
    Errors
        No expected errors 

    GET /settings

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            SettingsResource
    Errors
        No expected errors 

    PATCH /settings

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            SettingsResource
    Errors
        No expected errors 

    POST /settings/change-password

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
            (400, 'change password error', <_ast.Name object at 0x7f02d45c3128>)

    GET /shares

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /stats/comment_spam

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /stream

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PostsCollection
    Errors
        No expected errors 

    GET /stream/live

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            PostsCollection
    Errors
        No expected errors 

    POST /surveys/delete-pledge

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
            (400, 'invalid-parameters', <_ast.Str object at 0x7f02dfdeef60>)
            (400, 'invalid-parameters', <_ast.Str object at 0x7f02d45d3400>)

    POST /surveys/find-survey

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
            (400, 'invalid-parameters', <_ast.Str object at 0x7f02e020f828>)

    GET /unread_status

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    POST /unread_status/<string:unread_key>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    GET /unread_status/<string:unread_key>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
    Errors
        No expected errors 

    POST /user

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UNKNOWN
            UserResource
    Errors
            (403, 'generic-error', 'A runtime check failed.')
            (400, 'invalid-parameters', <_ast.Str object at 0x7f02e007f470>)

    GET /user/<int:user_id>/patrons

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UsersCollection
    Errors
        No expected errors 

    GET /user/<string:user_id>

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UserResource
    Errors
        No expected errors 

    POST /user/profile-photo

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UserResource
    Errors
        No expected errors 

    GET /users

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            UserResource
    Errors
            (500, 'generic-error', 'A runtime check failed.')

    GET /vat_countries

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            VatCountries
    Errors
        No expected errors 

    GET /vat_countries_rates

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            VatCountries
    Errors
        No expected errors 

    GET /vat_rate

    Conditions
    Inputs
        (DOCUMENTATION FEATURE NOT READY)
    Outputs
            VatResource
    Errors
        No expected errors 

    Resources
    UNKNOWN
    SimpleResource

    Blueprint

        "UNKNOWN"

    Includes
        No includes 

    action
    ActionResource

    Blueprint

        {
            "created_at": "[Date (ISO-8601)]",
            "id": "[Unique ID String]",
            "relationships": {
                "post": {
                    "id": "[Unique ID String]",
                    "type": "post"
                },
                "user": {
                    "id": "[Unique ID String]",
                    "type": "user"
                }
            },
            "type": "action"
        }

    Includes
        No includes 

    address
    AddressResource

    Blueprint

        "UNKNOWN"

    Includes
        No includes 

    attachment
    AttachmentResource

    Blueprint

        {
            "id": "[Unique ID String]",
            "name": "[String]",
            "relationships": {
                "post": {
                    "id": "[Unique ID String]",
                    "type": "post"
                }
            },
            "type": "attachment",
            "url": "[String]"
        }

    Includes
        No includes 

    campaign
    CampaignResource

    Blueprint

        {
            "created_at": "[Date (ISO-8601)]",
            "creation_name": "[String]",
            "id": "[Unique ID String]",
            "image_small_url": "[String]",
            "image_url": "[String]",
            "is_monthly": "[Boolean]",
            "is_nsfw": "[Boolean]",
            "main_video_embed": "[String]",
            "main_video_url": "[String]",
            "one_liner": "[String]",
            "pay_per_name": "[String]",
            "pledge_url": "[String]",
            "published_at": "[Date (ISO-8601)]",
            "relationships": {},
            "summary": "[String]",
            "thanks_embed": "[String]",
            "thanks_msg": "[String]",
            "thanks_video_url": "[String]",
            "type": "campaign"
        }

    Includes

        Allowed

            {
                "creator": "UNKNOWN",
                "current_user_pledge": "UNKNOWN",
                "goals": "UNKNOWN",
                "rewards": "UNKNOWN"
            }

        Default

                rewards

                creator

                goals

    campaign-settings
    CampaignSettingsResource

    Blueprint

        {
            "email_about_new_patron_posts": "[Boolean]",
            "email_about_new_patrons": "[Boolean]",
            "id": "[Unique ID String]",
            "push_about_new_patron_posts": "[Boolean]",
            "push_about_new_patrons": "[Boolean]",
            "relationships": {
                "campaign": {
                    "id": "[Unique ID String]",
                    "type": "campaign"
                },
                "user": {
                    "id": "[Unique ID String]",
                    "type": "user"
                }
            },
            "type": "campaign-settings"
        }

    Includes
        No includes 

    card
    CardResource

    Blueprint

        {
            "created_at": "[Date (ISO-8601)]",
            "expiration_date": "[Date (ISO-8601)]",
            "id": "[Unique ID String]",
            "is_verified": "[Boolean]",
            "number": "[String]",
            "relationships": {
                "user": {
                    "id": "[Unique ID String]",
                    "type": "user"
                }
            },
            "type": "card"
        }

    Includes
        No includes 

    category
    CategoryResource

    Blueprint

        {
            "id": "[Unique ID String]",
            "name": "[String]",
            "type": "category"
        }

    Includes

        Allowed

            {
                "featured": "UNKNOWN"
            }

        Default
            No defaults 

    comment
    CommentResource

    Blueprint

        {
            "body": "[String]",
            "created": "[Date (ISO-8601)]",
            "id": "[Unique ID String]",
            "is_by_creator": "[String]",
            "is_by_patron": "[String]",
            "relationships": {
                "commenter": {
                    "id": "[Unique ID String]",
                    "type": "user"
                },
                "parent": {
                    "id": "[Unique ID String]",
                    "type": "comment"
                },
                "post": {
                    "id": "[Unique ID String]",
                    "type": "post"
                },
                "replies": {
                    "accessor": "[String]",
                    "type": "array:comment"
                }
            },
            "type": "comment",
            "vote_sum": "[String]"
        }

    Includes

        Allowed

            {
                "children": "UNKNOWN",
                "replies": "UNKNOWN"
            }

        Default

                parent

                commenter

                post

    comment-vote
    CommentVoteResource

    Blueprint

        {
            "id": "[Unique ID String]",
            "relationships": {
                "comment": {
                    "id": "[Unique ID String]",
                    "type": "comment"
                },
                "post": {
                    "id": "[Unique ID String]",
                    "type": "post"
                },
                "user": {
                    "id": "[Unique ID String]",
                    "type": "user"
                }
            },
            "type": "comment-vote",
            "vote": "[String]"
        }

    Includes
        No includes 

    follow
    FollowResource

    Blueprint

        {
            "created_at": "[Date (ISO-8601)]",
            "id": "[Unique ID String]",
            "relationships": {
                "followed": {
                    "id": "[Unique ID String]",
                    "type": "user"
                },
                "follower": {
                    "id": "[Unique ID String]",
                    "type": "user"
                }
            },
            "type": "follow"
        }

    Includes
        No includes 

    follow-settings
    FollowSettingsResource

    Blueprint

        {
            "email_about_new_comments": "[Boolean]",
            "email_about_new_paid_posts": "[Boolean]",
            "email_about_new_posts": "[Boolean]",
            "id": "[Unique ID String]",
            "push_about_going_live": "[Boolean]",
            "push_about_new_comments": "[Boolean]",
            "push_about_new_paid_posts": "[Boolean]",
            "push_about_new_posts": "[Boolean]",
            "relationships": {
                "campaign": {
                    "id": "[Unique ID String]",
                    "type": "campaign"
                },
                "user": {
                    "id": "[Unique ID String]",
                    "type": "user"
                }
            },
            "type": "follow-settings"
        }

    Includes
        No includes 

    goal
    GoalResource

    Blueprint

        {
            "amount": "[String]",
            "amount_cents": "[String]",
            "created_at": "[Date (ISO-8601)]",
            "description": "[String]",
            "id": "[Unique ID String]",
            "reached_at": "[Date (ISO-8601)]",
            "title": "[String]",
            "type": "goal"
        }

    Includes
        No includes 

    notification
    NotificationResource

    Blueprint

        "UNKNOWN"

    Includes
        No includes 

    payment_event
    PaymentEventResource

    Blueprint

        {
            "created_at": "[Date (ISO-8601)]",
            "data": "[String]",
            "id": "[Unique ID String]",
            "payment_event_subtype": "[String]",
            "payment_event_type": "[String]",
            "relationships": {},
            "type": "payment_event"
        }

    Includes
        No includes 

    pledge
    PledgeResource

    Blueprint

        {
            "amount_cents": "[String]",
            "created_at": "[Date (ISO-8601)]",
            "id": "[Unique ID String]",
            "patron_pays_fees": "[String]",
            "pledge_cap_cents": "[String]",
            "relationships": {
                "patron": {
                    "id": "[Unique ID String]",
                    "type": "user"
                },
                "reward": {
                    "id": "[Unique ID String]",
                    "type": "reward"
                }
            },
            "type": "pledge"
        }

    Includes

        Allowed

            {
                "address": "UNKNOWN",
                "card": "UNKNOWN",
                "creator": "UNKNOWN",
                "pledge_vat_location": "UNKNOWN"
            }

        Default

                patron

                creator

                reward

                pledge_vat_location

    pledge_vat_location
    PledgeVatLocationResource

    Blueprint

        {
            "created_at": "[Date (ISO-8601)]",
            "geolocation_country": "[String]",
            "id": "[Unique ID String]",
            "selected_country": "[String]",
            "type": "pledge_vat_location"
        }

    Includes
        No includes 

    post
    PostResource

    Blueprint

        {
            "id": "[Unique ID String]",
            "relationships": {
                "campaign": {
                    "id": "[Unique ID String]",
                    "type": "campaign"
                },
                "user": {
                    "id": "[Unique ID String]",
                    "type": "user"
                }
            },
            "type": "post"
        }

    Includes

        Allowed

            {
                "attachments": "UNKNOWN",
                "likes": "UNKNOWN",
                "presence": "UNKNOWN"
            }

        Default

                attachments

                user

                campaign

                likes

    presence
    PresenceResource

    Blueprint

        {
            "expiration_time": "[Date (ISO-8601)]",
            "id": "[Unique ID String]",
            "last_seen": "[Date (ISO-8601)]",
            "relationships": {
                "user": {
                    "id": "[Unique ID String]",
                    "type": "user"
                }
            },
            "room": "[String]",
            "type": "presence"
        }

    Includes
        No includes 

    push-info
    PushInfoResource

    Blueprint

        {
            "bundle_id": "[String]",
            "created_at": "[Date (ISO-8601)]",
            "edited_at": "[Date (ISO-8601)]",
            "id": "[Unique ID String]",
            "relationships": {
                "user": {
                    "id": "[Unique ID String]",
                    "type": "user"
                }
            },
            "type": "push-info"
        }

    Includes
        No includes 

    reward
    RewardResource

    Blueprint

        {
            "amount": "[String]",
            "amount_cents": "[String]",
            "created_at": "[Date (ISO-8601)]",
            "description": "[String]",
            "id": "[Unique ID String]",
            "relationships": {
                "creator": {
                    "id": "[Unique ID String]",
                    "type": "user"
                }
            },
            "remaining": "[String]",
            "requires_shipping": "[Boolean]",
            "type": "reward",
            "url": "[String]",
            "user_limit": "[String]"
        }

    Includes
        No includes 

    settings
    SettingsResource

    Blueprint

        {
            "email_about_all_new_comments": "[Boolean]",
            "email_about_milestone_goals": "[Boolean]",
            "email_about_patreon_updates": "[Boolean]",
            "id": "[Unique ID String]",
            "pledges_are_private": "[Boolean]",
            "push_about_all_new_comments": "[Boolean]",
            "push_about_milestone_goals": "[Boolean]",
            "push_about_patreon_updates": "[Boolean]",
            "relationships": {
                "user": {
                    "id": "[Unique ID String]",
                    "type": "user"
                }
            },
            "type": "settings"
        }

    Includes

        Allowed

            {
                "campaign-settings": "UNKNOWN",
                "follow-settings": "UNKNOWN"
            }

        Default

                user

                follow-settings

                campaign-settings

    unread_status
    UnreadStatusResource

    Blueprint

        {
            "id": "[Unique ID String]",
            "read_timestamp": "[Date (ISO-8601)]",
            "relationships": {
                "user": {
                    "id": "[Unique ID String]",
                    "type": "user"
                }
            },
            "type": "unread_status",
            "unread_key": "[String]"
        }

    Includes
        No includes 

    user
    UserResource

    Blueprint

        {
            "id": "[Unique ID String]",
            "relationships": {},
            "type": "user"
        }

    Includes

        Allowed

            {
                "campaign": "UNKNOWN",
                "cards": "UNKNOWN",
                "follows": "UNKNOWN",
                "pledges": "UNKNOWN",
                "presence": "UNKNOWN",
                "session": "UNKNOWN"
            }

        Default

                campaign


@fake-name
Copy link
Author

Note that they appear to have locked this facility down, probably in response to the recent hack they had.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant