Skip to content

Commit

Permalink
add index page
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofgazso committed Jul 17, 2024
1 parent 725ce33 commit 68737d9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/pages/infra/platform/api/sponsorship-policies/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Sponsorship Policies API

Sponsorship policies represent the rules that govern which user operations you are willing to sponsor. Use it to customize the conditions under which you are willing to subsidize the gas fees for your users.

Related guide: [How to use Sponsorship Policies](/infra/platform/sponsorship-policies)

:::note[Endpoints]

List all sponsorship policies:

[`GET /v2/account/sponsorship_policies`](/infra/platform/api/sponsorship-policies/list)

Retrieve a specific sponsorship policy:

[`GET /v2/account/sponsorship_policies/:id`](/infra/platform/api/sponsorship-policies/retrieve)

Create a new sponsorship policy:

[`POST /v2/account/sponsorship_policies`](/infra/platform/api/sponsorship-policies/create)

Update an existing sponsorship policy:

[`POST /v2/account/sponsorship_policies/:id`](/infra/platform/api/sponsorship-policies/update)

:::
1 change: 1 addition & 0 deletions vocs.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const platformSidebar = [
},
{
text: "Sponsorship Policies",
link: "/infra/platform/api/sponsorship-policies",
collapsed: false,
items: [
{
Expand Down

0 comments on commit 68737d9

Please sign in to comment.