"example": "// ListForUser: List API calls for a user.\n// \n// This endpoint requires authentication by any Zoo user. It returns the API calls for the authenticated user if \"me\" is passed as the user id.\n// \n// Alternatively, you can use the `/user/api-calls` endpoint to get the API calls for your user.\n// \n// If the authenticated user is a Zoo employee, then the API calls are returned for the user specified by the user id.\n// \n// The API calls are returned in order of creation, with the most recently created API calls first.\n// \n// \n// Parameters\n// \n// \t- `id`\n// \t- `limit`\n// \t- `pageToken`\n// \t- `sortBy`: Supported set of sort modes for scanning by created_at only.\n// \t\t\n// \t\tCurrently, we only support scanning in ascending order.\n// \n// ListForUser: List API calls for a user.\n// This endpoint requires authentication by any Zoo user. It returns the API calls for the authenticated user if \"me\" is passed as the user id.\n//\n// Alternatively, you can use the `/user/api-calls` endpoint to get the API calls for your user.\n//\n// If the authenticated user is a Zoo employee, then the API calls are returned for the user specified by the user id.\n//\n// The API calls are returned in order of creation, with the most recently created API calls first.\n//\n// Parameters\n//\n// - `id`\n//\n// - `limit`\n//\n// - `pageToken`\n//\n// - `sortBy`: Supported set of sort modes for scanning by created_at only.\n//\n// Currently, we only support scanning in ascending order.\nfunc ExampleAPICallService_ListForUser() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.APICall.ListForUser(\"some-string\", 123, \"some-string\", \"\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n",
0 commit comments