|
15 | 15 | "op": "add",
|
16 | 16 | "path": "/paths/~1/get/x-go"
|
17 | 17 | },
|
18 |
| - { |
19 |
| - "value": { |
20 |
| - "example": "// Getdata: Get the metadata about our currently running server.\n// \n// This includes information on any of our other distributed systems it is connected to.\n// \n// You must be a Zoo employee to perform this request.\n// \n// Getdata: Get the metadata about our currently running server.\n// This includes information on any of our other distributed systems it is connected to.\n//\n// You must be a Zoo employee to perform this request.\nfunc ExampleMetaService_Getdata() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Meta.Getdata()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
21 |
| - "libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#MetaService.Getdata" |
22 |
| - }, |
23 |
| - "op": "add", |
24 |
| - "path": "/paths/~1_meta~1info/get/x-go" |
25 |
| - }, |
26 | 18 | {
|
27 | 19 | "value": {
|
28 | 20 | "example": "// GetIpinfo: Get ip address information.\n// \n// GetIpinfo: Get ip address information.\nfunc ExampleMetaService_GetIpinfo() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Meta.GetIpinfo()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n",
|
|
217 | 209 | },
|
218 | 210 | {
|
219 | 211 | "value": {
|
220 |
| - "example": "// InternalGetAPITokenForDiscordUser: Get an API token for a user by their discord id.\n// \n// This endpoint allows us to run API calls from our discord bot on behalf of a user. The user must have a discord account linked to their Zoo Account via oauth2 for this to work.\n// \n// You must be a Zoo employee to use this endpoint.\n// \n// \n// Parameters\n// \n// \t- `discordId`\n// \n// InternalGetAPITokenForDiscordUser: Get an API token for a user by their discord id.\n// This endpoint allows us to run API calls from our discord bot on behalf of a user. The user must have a discord account linked to their Zoo Account via oauth2 for this to work.\n//\n// You must be a Zoo employee to use this endpoint.\n//\n// Parameters\n//\n// - `discordId`\nfunc ExampleMetaService_InternalGetAPITokenForDiscordUser() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Meta.InternalGetAPITokenForDiscordUser(\"some-string\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
| 212 | + "example": "// InternalGetAPITokenForDiscordUser: Get an API token for a user by their discord id.\n// \n// This endpoint allows us to run API calls from our discord bot on behalf of a user. The user must have a discord account linked to their Zoo Account via oauth2 for this to work.\n// \n// You must be a Zoo admin to use this endpoint.\n// \n// \n// Parameters\n// \n// \t- `discordId`\n// \n// InternalGetAPITokenForDiscordUser: Get an API token for a user by their discord id.\n// This endpoint allows us to run API calls from our discord bot on behalf of a user. The user must have a discord account linked to their Zoo Account via oauth2 for this to work.\n//\n// You must be a Zoo admin to use this endpoint.\n//\n// Parameters\n//\n// - `discordId`\nfunc ExampleMetaService_InternalGetAPITokenForDiscordUser() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Meta.InternalGetAPITokenForDiscordUser(\"some-string\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
221 | 213 | "libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#MetaService.InternalGetAPITokenForDiscordUser"
|
222 | 214 | },
|
223 | 215 | "op": "add",
|
|
641 | 633 | },
|
642 | 634 | {
|
643 | 635 | "value": {
|
644 |
| - "example": "// UpdateEnterprisePricingFor: Set the enterprise price for an organization.\n// \n// You must be a Zoo employee to perform this request.\n// \n// \n// Parameters\n// \n// \t- `id`: A UUID usually v4 or v7\n// \t- `body`: The price for an enterprise subscription.\n// \n// UpdateEnterprisePricingFor: Set the enterprise price for an organization.\n// You must be a Zoo employee to perform this request.\n//\n// Parameters\n//\n// - `id`: A UUID usually v4 or v7\n// - `body`: The price for an enterprise subscription.\nfunc ExampleOrgService_UpdateEnterprisePricingFor() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Org.UpdateEnterprisePricingFor(kittycad.ParseUUID(\"6ba7b810-9dad-11d1-80b4-00c04fd430c8\"), \"\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
| 636 | + "example": "// UpdateEnterprisePricingFor: Set the enterprise price for an organization.\n// \n// You must be a Zoo admin to perform this request.\n// \n// \n// Parameters\n// \n// \t- `id`: A UUID usually v4 or v7\n// \t- `body`: The price for an enterprise subscription.\n// \n// UpdateEnterprisePricingFor: Set the enterprise price for an organization.\n// You must be a Zoo admin to perform this request.\n//\n// Parameters\n//\n// - `id`: A UUID usually v4 or v7\n// - `body`: The price for an enterprise subscription.\nfunc ExampleOrgService_UpdateEnterprisePricingFor() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Org.UpdateEnterprisePricingFor(kittycad.ParseUUID(\"6ba7b810-9dad-11d1-80b4-00c04fd430c8\"), \"\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
645 | 637 | "libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#OrgService.UpdateEnterprisePricingFor"
|
646 | 638 | },
|
647 | 639 | "op": "add",
|
|
1121 | 1113 | },
|
1122 | 1114 | {
|
1123 | 1115 | "value": {
|
1124 |
| - "example": "// GetExtended: Get extended information about a user.\n// \n// To get information about yourself, use `/users-extended/me` as the endpoint. By doing so you will get the user information for the authenticated user.\n// \n// Alternatively, to get information about the authenticated user, use `/user/extended` endpoint.\n// \n// To get information about any Zoo user, you must be a Zoo employee.\n// \n// \n// Parameters\n// \n// \t- `id`\n// \n// GetExtended: Get extended information about a user.\n// To get information about yourself, use `/users-extended/me` as the endpoint. By doing so you will get the user information for the authenticated user.\n//\n// Alternatively, to get information about the authenticated user, use `/user/extended` endpoint.\n//\n// To get information about any Zoo user, you must be a Zoo employee.\n//\n// Parameters\n//\n// - `id`\nfunc ExampleUserService_GetExtended() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.User.GetExtended(\"some-string\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
| 1116 | + "example": "// GetExtended: Get extended information about a user.\n// \n// To get information about yourself, use `/users-extended/me` as the endpoint. By doing so you will get the user information for the authenticated user.\n// \n// Alternatively, to get information about the authenticated user, use `/user/extended` endpoint.\n// \n// \n// Parameters\n// \n// \t- `id`\n// \n// GetExtended: Get extended information about a user.\n// To get information about yourself, use `/users-extended/me` as the endpoint. By doing so you will get the user information for the authenticated user.\n//\n// Alternatively, to get information about the authenticated user, use `/user/extended` endpoint.\n//\n// Parameters\n//\n// - `id`\nfunc ExampleUserService_GetExtended() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.User.GetExtended(\"some-string\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
1125 | 1117 | "libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#UserService.GetExtended"
|
1126 | 1118 | },
|
1127 | 1119 | "op": "add",
|
1128 | 1120 | "path": "/paths/~1users-extended~1{id}/get/x-go"
|
1129 | 1121 | },
|
1130 | 1122 | {
|
1131 | 1123 | "value": {
|
1132 |
| - "example": "// Get: Get a user.\n// \n// To get information about yourself, use `/users/me` as the endpoint. By doing so you will get the user information for the authenticated user.\n// \n// Alternatively, to get information about the authenticated user, use `/user` endpoint.\n// \n// To get information about any Zoo user, you must be a Zoo employee.\n// \n// \n// Parameters\n// \n// \t- `id`\n// \n// Get: Get a user.\n// To get information about yourself, use `/users/me` as the endpoint. By doing so you will get the user information for the authenticated user.\n//\n// Alternatively, to get information about the authenticated user, use `/user` endpoint.\n//\n// To get information about any Zoo user, you must be a Zoo employee.\n//\n// Parameters\n//\n// - `id`\nfunc ExampleUserService_Get() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.User.Get(\"some-string\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
| 1124 | + "example": "// Get: Get a user.\n// \n// To get information about yourself, use `/users/me` as the endpoint. By doing so you will get the user information for the authenticated user.\n// \n// Alternatively, to get information about the authenticated user, use `/user` endpoint.\n// \n// \n// Parameters\n// \n// \t- `id`\n// \n// Get: Get a user.\n// To get information about yourself, use `/users/me` as the endpoint. By doing so you will get the user information for the authenticated user.\n//\n// Alternatively, to get information about the authenticated user, use `/user` endpoint.\n//\n// Parameters\n//\n// - `id`\nfunc ExampleUserService_Get() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.User.Get(\"some-string\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n", |
1133 | 1125 | "libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#UserService.Get"
|
1134 | 1126 | },
|
1135 | 1127 | "op": "add",
|
|
0 commit comments