@netlify/open-api 2.63.0 → 2.63.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +114 -0
- package/dist/swagger.json +335 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -870,6 +870,38 @@ export interface paths {
|
|
|
870
870
|
};
|
|
871
871
|
};
|
|
872
872
|
};
|
|
873
|
+
"/sites/{site_id}/identity/{identity_id}/users/{user_id}": {
|
|
874
|
+
/**
|
|
875
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/identityUser/operation/getIdentityUser | `getIdentityUser`}
|
|
876
|
+
*
|
|
877
|
+
* Returns one Identity user by ID. Agent runner tokens receive only the user's ID, email, confirmation, invitation, sign-in, password-reset and email-change timestamps, and the `provider` and `roles` fields of `app_metadata`.
|
|
878
|
+
*/
|
|
879
|
+
get: operations["getIdentityUser"];
|
|
880
|
+
parameters: {
|
|
881
|
+
path: {
|
|
882
|
+
site_id: string;
|
|
883
|
+
/** The site's Identity instance ID, returned as `identity_instance_id` by `getSite`. */
|
|
884
|
+
identity_id: string;
|
|
885
|
+
/** The Identity user's UUID. */
|
|
886
|
+
user_id: string;
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
};
|
|
890
|
+
"/sites/{site_id}/identity/{identity_id}/users/lookup": {
|
|
891
|
+
/**
|
|
892
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/identityUser/operation/lookupIdentityUser | `lookupIdentityUser`}
|
|
893
|
+
*
|
|
894
|
+
* Returns the one Identity user with this exact email. Matching ignores case and trailing spaces. Partial matches and pagination are not supported, and an unknown email returns 404. Agent runner tokens receive the same restricted fields as `getIdentityUser`.
|
|
895
|
+
*/
|
|
896
|
+
post: operations["lookupIdentityUser"];
|
|
897
|
+
parameters: {
|
|
898
|
+
path: {
|
|
899
|
+
site_id: string;
|
|
900
|
+
/** The site's Identity instance ID, returned as `identity_instance_id` by `getSite`. */
|
|
901
|
+
identity_id: string;
|
|
902
|
+
};
|
|
903
|
+
};
|
|
904
|
+
};
|
|
873
905
|
"/services/": {
|
|
874
906
|
/** API Reference: {@link https://open-api.netlify.com/#tag/service/operation/getServices | `getServices`} */
|
|
875
907
|
get: operations["getServices"];
|
|
@@ -1796,6 +1828,33 @@ export interface components {
|
|
|
1796
1828
|
/** Format: dateTime */
|
|
1797
1829
|
created_at?: string;
|
|
1798
1830
|
};
|
|
1831
|
+
identityUser: {
|
|
1832
|
+
id?: string;
|
|
1833
|
+
email?: string;
|
|
1834
|
+
aud?: string;
|
|
1835
|
+
role?: string;
|
|
1836
|
+
/** Format: dateTime */
|
|
1837
|
+
confirmed_at?: string;
|
|
1838
|
+
/** Format: dateTime */
|
|
1839
|
+
invited_at?: string;
|
|
1840
|
+
/** Format: dateTime */
|
|
1841
|
+
confirmation_sent_at?: string;
|
|
1842
|
+
/** Format: dateTime */
|
|
1843
|
+
recovery_sent_at?: string;
|
|
1844
|
+
/** Format: dateTime */
|
|
1845
|
+
email_change_sent_at?: string;
|
|
1846
|
+
/** Format: dateTime */
|
|
1847
|
+
last_sign_in_at?: string;
|
|
1848
|
+
app_metadata?: {
|
|
1849
|
+
provider?: string;
|
|
1850
|
+
roles?: string[];
|
|
1851
|
+
};
|
|
1852
|
+
user_metadata?: { [key: string]: unknown };
|
|
1853
|
+
/** Format: dateTime */
|
|
1854
|
+
created_at?: string;
|
|
1855
|
+
/** Format: dateTime */
|
|
1856
|
+
updated_at?: string;
|
|
1857
|
+
};
|
|
1799
1858
|
hookType: {
|
|
1800
1859
|
name?: string;
|
|
1801
1860
|
events?: string[];
|
|
@@ -5394,6 +5453,61 @@ export interface operations {
|
|
|
5394
5453
|
default: components["responses"]["error"];
|
|
5395
5454
|
};
|
|
5396
5455
|
};
|
|
5456
|
+
/**
|
|
5457
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/identityUser/operation/getIdentityUser | `getIdentityUser`}
|
|
5458
|
+
*
|
|
5459
|
+
* Returns one Identity user by ID. Agent runner tokens receive only the user's ID, email, confirmation, invitation, sign-in, password-reset and email-change timestamps, and the `provider` and `roles` fields of `app_metadata`.
|
|
5460
|
+
*/
|
|
5461
|
+
getIdentityUser: {
|
|
5462
|
+
parameters: {
|
|
5463
|
+
path: {
|
|
5464
|
+
site_id: string;
|
|
5465
|
+
/** The site's Identity instance ID, returned as `identity_instance_id` by `getSite`. */
|
|
5466
|
+
identity_id: string;
|
|
5467
|
+
/** The Identity user's UUID. */
|
|
5468
|
+
user_id: string;
|
|
5469
|
+
};
|
|
5470
|
+
};
|
|
5471
|
+
responses: {
|
|
5472
|
+
/** OK */
|
|
5473
|
+
200: {
|
|
5474
|
+
content: {
|
|
5475
|
+
"application/json": components["schemas"]["identityUser"];
|
|
5476
|
+
};
|
|
5477
|
+
};
|
|
5478
|
+
default: components["responses"]["error"];
|
|
5479
|
+
};
|
|
5480
|
+
};
|
|
5481
|
+
/**
|
|
5482
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/identityUser/operation/lookupIdentityUser | `lookupIdentityUser`}
|
|
5483
|
+
*
|
|
5484
|
+
* Returns the one Identity user with this exact email. Matching ignores case and trailing spaces. Partial matches and pagination are not supported, and an unknown email returns 404. Agent runner tokens receive the same restricted fields as `getIdentityUser`.
|
|
5485
|
+
*/
|
|
5486
|
+
lookupIdentityUser: {
|
|
5487
|
+
parameters: {
|
|
5488
|
+
path: {
|
|
5489
|
+
site_id: string;
|
|
5490
|
+
/** The site's Identity instance ID, returned as `identity_instance_id` by `getSite`. */
|
|
5491
|
+
identity_id: string;
|
|
5492
|
+
};
|
|
5493
|
+
};
|
|
5494
|
+
responses: {
|
|
5495
|
+
/** OK */
|
|
5496
|
+
200: {
|
|
5497
|
+
content: {
|
|
5498
|
+
"application/json": components["schemas"]["identityUser"];
|
|
5499
|
+
};
|
|
5500
|
+
};
|
|
5501
|
+
default: components["responses"]["error"];
|
|
5502
|
+
};
|
|
5503
|
+
requestBody: {
|
|
5504
|
+
content: {
|
|
5505
|
+
"application/json": {
|
|
5506
|
+
email: string;
|
|
5507
|
+
};
|
|
5508
|
+
};
|
|
5509
|
+
};
|
|
5510
|
+
};
|
|
5397
5511
|
/** API Reference: {@link https://open-api.netlify.com/#tag/service/operation/getServices | `getServices`} */
|
|
5398
5512
|
getServices: {
|
|
5399
5513
|
parameters: {
|
package/dist/swagger.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"swagger": "2.0",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "2.63.
|
|
4
|
+
"version": "2.63.1",
|
|
5
5
|
"title": "Netlify's API documentation",
|
|
6
6
|
"description": "Netlify is a hosting service for the programmable web. It understands your documents and provides an API to handle atomic deploys of websites, manage form submissions, inject JavaScript snippets, and much more. This is a REST-style API that uses JSON for serialization and OAuth 2 for authentication.\n\nThis document is an OpenAPI reference for the Netlify API that you can explore. For more detailed instructions for common uses, please visit the [online documentation](https://www.netlify.com/docs/api/). Visit our Community forum to join the conversation about [understanding and using Netlify's API](https://community.netlify.com/t/common-issue-understanding-and-using-netlifys-api/160).\n\nAdditionally, we have two API clients for your convenience:\n- [Go Client](https://github.com/netlify/open-api#go-client)\n- [JS Client](https://github.com/netlify/build/tree/main/packages/js-client)",
|
|
7
7
|
"termsOfService": "https://www.netlify.com/legal/terms-of-use/",
|
|
@@ -17456,6 +17456,264 @@
|
|
|
17456
17456
|
}
|
|
17457
17457
|
}
|
|
17458
17458
|
},
|
|
17459
|
+
"/sites/{site_id}/identity/{identity_id}/users/{user_id}": {
|
|
17460
|
+
"parameters": [
|
|
17461
|
+
{
|
|
17462
|
+
"name": "site_id",
|
|
17463
|
+
"type": "string",
|
|
17464
|
+
"in": "path",
|
|
17465
|
+
"required": true
|
|
17466
|
+
},
|
|
17467
|
+
{
|
|
17468
|
+
"name": "identity_id",
|
|
17469
|
+
"type": "string",
|
|
17470
|
+
"in": "path",
|
|
17471
|
+
"required": true,
|
|
17472
|
+
"description": "The site's Identity instance ID, returned as `identity_instance_id` by `getSite`."
|
|
17473
|
+
},
|
|
17474
|
+
{
|
|
17475
|
+
"name": "user_id",
|
|
17476
|
+
"type": "string",
|
|
17477
|
+
"in": "path",
|
|
17478
|
+
"required": true,
|
|
17479
|
+
"description": "The Identity user's UUID."
|
|
17480
|
+
}
|
|
17481
|
+
],
|
|
17482
|
+
"get": {
|
|
17483
|
+
"operationId": "getIdentityUser",
|
|
17484
|
+
"summary": "Get an Identity user",
|
|
17485
|
+
"description": "Returns one Identity user by ID. Agent runner tokens receive only the user's ID, email, confirmation, invitation, sign-in, password-reset and email-change timestamps, and the `provider` and `roles` fields of `app_metadata`.",
|
|
17486
|
+
"tags": [
|
|
17487
|
+
"identityUser"
|
|
17488
|
+
],
|
|
17489
|
+
"responses": {
|
|
17490
|
+
"200": {
|
|
17491
|
+
"description": "OK",
|
|
17492
|
+
"schema": {
|
|
17493
|
+
"type": "object",
|
|
17494
|
+
"properties": {
|
|
17495
|
+
"id": {
|
|
17496
|
+
"type": "string"
|
|
17497
|
+
},
|
|
17498
|
+
"email": {
|
|
17499
|
+
"type": "string"
|
|
17500
|
+
},
|
|
17501
|
+
"aud": {
|
|
17502
|
+
"type": "string"
|
|
17503
|
+
},
|
|
17504
|
+
"role": {
|
|
17505
|
+
"type": "string"
|
|
17506
|
+
},
|
|
17507
|
+
"confirmed_at": {
|
|
17508
|
+
"type": "string",
|
|
17509
|
+
"format": "dateTime"
|
|
17510
|
+
},
|
|
17511
|
+
"invited_at": {
|
|
17512
|
+
"type": "string",
|
|
17513
|
+
"format": "dateTime"
|
|
17514
|
+
},
|
|
17515
|
+
"confirmation_sent_at": {
|
|
17516
|
+
"type": "string",
|
|
17517
|
+
"format": "dateTime"
|
|
17518
|
+
},
|
|
17519
|
+
"recovery_sent_at": {
|
|
17520
|
+
"type": "string",
|
|
17521
|
+
"format": "dateTime"
|
|
17522
|
+
},
|
|
17523
|
+
"email_change_sent_at": {
|
|
17524
|
+
"type": "string",
|
|
17525
|
+
"format": "dateTime"
|
|
17526
|
+
},
|
|
17527
|
+
"last_sign_in_at": {
|
|
17528
|
+
"type": "string",
|
|
17529
|
+
"format": "dateTime"
|
|
17530
|
+
},
|
|
17531
|
+
"app_metadata": {
|
|
17532
|
+
"type": "object",
|
|
17533
|
+
"properties": {
|
|
17534
|
+
"provider": {
|
|
17535
|
+
"type": "string"
|
|
17536
|
+
},
|
|
17537
|
+
"roles": {
|
|
17538
|
+
"type": "array",
|
|
17539
|
+
"items": {
|
|
17540
|
+
"type": "string"
|
|
17541
|
+
}
|
|
17542
|
+
}
|
|
17543
|
+
}
|
|
17544
|
+
},
|
|
17545
|
+
"user_metadata": {
|
|
17546
|
+
"type": "object"
|
|
17547
|
+
},
|
|
17548
|
+
"created_at": {
|
|
17549
|
+
"type": "string",
|
|
17550
|
+
"format": "dateTime"
|
|
17551
|
+
},
|
|
17552
|
+
"updated_at": {
|
|
17553
|
+
"type": "string",
|
|
17554
|
+
"format": "dateTime"
|
|
17555
|
+
}
|
|
17556
|
+
}
|
|
17557
|
+
}
|
|
17558
|
+
},
|
|
17559
|
+
"default": {
|
|
17560
|
+
"description": "error",
|
|
17561
|
+
"schema": {
|
|
17562
|
+
"type": "object",
|
|
17563
|
+
"required": [
|
|
17564
|
+
"message"
|
|
17565
|
+
],
|
|
17566
|
+
"properties": {
|
|
17567
|
+
"code": {
|
|
17568
|
+
"type": "integer",
|
|
17569
|
+
"format": "int64"
|
|
17570
|
+
},
|
|
17571
|
+
"message": {
|
|
17572
|
+
"type": "string",
|
|
17573
|
+
"x-nullable": false
|
|
17574
|
+
}
|
|
17575
|
+
}
|
|
17576
|
+
}
|
|
17577
|
+
}
|
|
17578
|
+
}
|
|
17579
|
+
}
|
|
17580
|
+
},
|
|
17581
|
+
"/sites/{site_id}/identity/{identity_id}/users/lookup": {
|
|
17582
|
+
"parameters": [
|
|
17583
|
+
{
|
|
17584
|
+
"name": "site_id",
|
|
17585
|
+
"type": "string",
|
|
17586
|
+
"in": "path",
|
|
17587
|
+
"required": true
|
|
17588
|
+
},
|
|
17589
|
+
{
|
|
17590
|
+
"name": "identity_id",
|
|
17591
|
+
"type": "string",
|
|
17592
|
+
"in": "path",
|
|
17593
|
+
"required": true,
|
|
17594
|
+
"description": "The site's Identity instance ID, returned as `identity_instance_id` by `getSite`."
|
|
17595
|
+
}
|
|
17596
|
+
],
|
|
17597
|
+
"post": {
|
|
17598
|
+
"operationId": "lookupIdentityUser",
|
|
17599
|
+
"summary": "Look up an Identity user by email",
|
|
17600
|
+
"description": "Returns the one Identity user with this exact email. Matching ignores case and trailing spaces. Partial matches and pagination are not supported, and an unknown email returns 404. Agent runner tokens receive the same restricted fields as `getIdentityUser`.",
|
|
17601
|
+
"tags": [
|
|
17602
|
+
"identityUser"
|
|
17603
|
+
],
|
|
17604
|
+
"consumes": [
|
|
17605
|
+
"application/json"
|
|
17606
|
+
],
|
|
17607
|
+
"parameters": [
|
|
17608
|
+
{
|
|
17609
|
+
"name": "body",
|
|
17610
|
+
"in": "body",
|
|
17611
|
+
"required": true,
|
|
17612
|
+
"schema": {
|
|
17613
|
+
"type": "object",
|
|
17614
|
+
"required": [
|
|
17615
|
+
"email"
|
|
17616
|
+
],
|
|
17617
|
+
"properties": {
|
|
17618
|
+
"email": {
|
|
17619
|
+
"type": "string"
|
|
17620
|
+
}
|
|
17621
|
+
}
|
|
17622
|
+
}
|
|
17623
|
+
}
|
|
17624
|
+
],
|
|
17625
|
+
"responses": {
|
|
17626
|
+
"200": {
|
|
17627
|
+
"description": "OK",
|
|
17628
|
+
"schema": {
|
|
17629
|
+
"type": "object",
|
|
17630
|
+
"properties": {
|
|
17631
|
+
"id": {
|
|
17632
|
+
"type": "string"
|
|
17633
|
+
},
|
|
17634
|
+
"email": {
|
|
17635
|
+
"type": "string"
|
|
17636
|
+
},
|
|
17637
|
+
"aud": {
|
|
17638
|
+
"type": "string"
|
|
17639
|
+
},
|
|
17640
|
+
"role": {
|
|
17641
|
+
"type": "string"
|
|
17642
|
+
},
|
|
17643
|
+
"confirmed_at": {
|
|
17644
|
+
"type": "string",
|
|
17645
|
+
"format": "dateTime"
|
|
17646
|
+
},
|
|
17647
|
+
"invited_at": {
|
|
17648
|
+
"type": "string",
|
|
17649
|
+
"format": "dateTime"
|
|
17650
|
+
},
|
|
17651
|
+
"confirmation_sent_at": {
|
|
17652
|
+
"type": "string",
|
|
17653
|
+
"format": "dateTime"
|
|
17654
|
+
},
|
|
17655
|
+
"recovery_sent_at": {
|
|
17656
|
+
"type": "string",
|
|
17657
|
+
"format": "dateTime"
|
|
17658
|
+
},
|
|
17659
|
+
"email_change_sent_at": {
|
|
17660
|
+
"type": "string",
|
|
17661
|
+
"format": "dateTime"
|
|
17662
|
+
},
|
|
17663
|
+
"last_sign_in_at": {
|
|
17664
|
+
"type": "string",
|
|
17665
|
+
"format": "dateTime"
|
|
17666
|
+
},
|
|
17667
|
+
"app_metadata": {
|
|
17668
|
+
"type": "object",
|
|
17669
|
+
"properties": {
|
|
17670
|
+
"provider": {
|
|
17671
|
+
"type": "string"
|
|
17672
|
+
},
|
|
17673
|
+
"roles": {
|
|
17674
|
+
"type": "array",
|
|
17675
|
+
"items": {
|
|
17676
|
+
"type": "string"
|
|
17677
|
+
}
|
|
17678
|
+
}
|
|
17679
|
+
}
|
|
17680
|
+
},
|
|
17681
|
+
"user_metadata": {
|
|
17682
|
+
"type": "object"
|
|
17683
|
+
},
|
|
17684
|
+
"created_at": {
|
|
17685
|
+
"type": "string",
|
|
17686
|
+
"format": "dateTime"
|
|
17687
|
+
},
|
|
17688
|
+
"updated_at": {
|
|
17689
|
+
"type": "string",
|
|
17690
|
+
"format": "dateTime"
|
|
17691
|
+
}
|
|
17692
|
+
}
|
|
17693
|
+
}
|
|
17694
|
+
},
|
|
17695
|
+
"default": {
|
|
17696
|
+
"description": "error",
|
|
17697
|
+
"schema": {
|
|
17698
|
+
"type": "object",
|
|
17699
|
+
"required": [
|
|
17700
|
+
"message"
|
|
17701
|
+
],
|
|
17702
|
+
"properties": {
|
|
17703
|
+
"code": {
|
|
17704
|
+
"type": "integer",
|
|
17705
|
+
"format": "int64"
|
|
17706
|
+
},
|
|
17707
|
+
"message": {
|
|
17708
|
+
"type": "string",
|
|
17709
|
+
"x-nullable": false
|
|
17710
|
+
}
|
|
17711
|
+
}
|
|
17712
|
+
}
|
|
17713
|
+
}
|
|
17714
|
+
}
|
|
17715
|
+
}
|
|
17716
|
+
},
|
|
17459
17717
|
"/services/": {
|
|
17460
17718
|
"parameters": [
|
|
17461
17719
|
{
|
|
@@ -23971,6 +24229,72 @@
|
|
|
23971
24229
|
}
|
|
23972
24230
|
}
|
|
23973
24231
|
},
|
|
24232
|
+
"identityUser": {
|
|
24233
|
+
"type": "object",
|
|
24234
|
+
"properties": {
|
|
24235
|
+
"id": {
|
|
24236
|
+
"type": "string"
|
|
24237
|
+
},
|
|
24238
|
+
"email": {
|
|
24239
|
+
"type": "string"
|
|
24240
|
+
},
|
|
24241
|
+
"aud": {
|
|
24242
|
+
"type": "string"
|
|
24243
|
+
},
|
|
24244
|
+
"role": {
|
|
24245
|
+
"type": "string"
|
|
24246
|
+
},
|
|
24247
|
+
"confirmed_at": {
|
|
24248
|
+
"type": "string",
|
|
24249
|
+
"format": "dateTime"
|
|
24250
|
+
},
|
|
24251
|
+
"invited_at": {
|
|
24252
|
+
"type": "string",
|
|
24253
|
+
"format": "dateTime"
|
|
24254
|
+
},
|
|
24255
|
+
"confirmation_sent_at": {
|
|
24256
|
+
"type": "string",
|
|
24257
|
+
"format": "dateTime"
|
|
24258
|
+
},
|
|
24259
|
+
"recovery_sent_at": {
|
|
24260
|
+
"type": "string",
|
|
24261
|
+
"format": "dateTime"
|
|
24262
|
+
},
|
|
24263
|
+
"email_change_sent_at": {
|
|
24264
|
+
"type": "string",
|
|
24265
|
+
"format": "dateTime"
|
|
24266
|
+
},
|
|
24267
|
+
"last_sign_in_at": {
|
|
24268
|
+
"type": "string",
|
|
24269
|
+
"format": "dateTime"
|
|
24270
|
+
},
|
|
24271
|
+
"app_metadata": {
|
|
24272
|
+
"type": "object",
|
|
24273
|
+
"properties": {
|
|
24274
|
+
"provider": {
|
|
24275
|
+
"type": "string"
|
|
24276
|
+
},
|
|
24277
|
+
"roles": {
|
|
24278
|
+
"type": "array",
|
|
24279
|
+
"items": {
|
|
24280
|
+
"type": "string"
|
|
24281
|
+
}
|
|
24282
|
+
}
|
|
24283
|
+
}
|
|
24284
|
+
},
|
|
24285
|
+
"user_metadata": {
|
|
24286
|
+
"type": "object"
|
|
24287
|
+
},
|
|
24288
|
+
"created_at": {
|
|
24289
|
+
"type": "string",
|
|
24290
|
+
"format": "dateTime"
|
|
24291
|
+
},
|
|
24292
|
+
"updated_at": {
|
|
24293
|
+
"type": "string",
|
|
24294
|
+
"format": "dateTime"
|
|
24295
|
+
}
|
|
24296
|
+
}
|
|
24297
|
+
},
|
|
23974
24298
|
"hookType": {
|
|
23975
24299
|
"type": "object",
|
|
23976
24300
|
"properties": {
|
|
@@ -26955,6 +27279,12 @@
|
|
|
26955
27279
|
"serviceInstance"
|
|
26956
27280
|
]
|
|
26957
27281
|
},
|
|
27282
|
+
{
|
|
27283
|
+
"name": "Identity",
|
|
27284
|
+
"tags": [
|
|
27285
|
+
"identityUser"
|
|
27286
|
+
]
|
|
27287
|
+
},
|
|
26958
27288
|
{
|
|
26959
27289
|
"name": "Functions",
|
|
26960
27290
|
"tags": [
|
|
@@ -27093,6 +27423,10 @@
|
|
|
27093
27423
|
"name": "serviceInstance",
|
|
27094
27424
|
"x-displayName": "Service instance"
|
|
27095
27425
|
},
|
|
27426
|
+
{
|
|
27427
|
+
"name": "identityUser",
|
|
27428
|
+
"x-displayName": "Identity user"
|
|
27429
|
+
},
|
|
27096
27430
|
{
|
|
27097
27431
|
"name": "function",
|
|
27098
27432
|
"x-displayName": "Function"
|