diff --git a/op/API.md b/op/API.md index d579cc8..509560f 100644 --- a/op/API.md +++ b/op/API.md @@ -40,7 +40,8 @@ POST /v1/users - + + @@ -205,7 +206,8 @@ PATCH /v1/users/{id}/disable - + + id string @@ -238,7 +240,8 @@ PATCH /v1/users/{id}/enable - + + id string @@ -271,7 +274,8 @@ POST /v1/jobs/users-disable - + + @@ -304,7 +308,8 @@ POST /v1/jobs/users-enable - + + @@ -337,7 +342,8 @@ PATCH /v1/users/{id} - + + id string @@ -484,7 +490,8 @@ DELETE /v1/users/{id} - + + id string @@ -517,7 +524,8 @@ DELETE /v1/users - + + @@ -550,7 +558,8 @@ GET /v1/users - + + page_size @@ -613,7 +622,8 @@ GET /v1/users/{id} - + + id string @@ -646,7 +656,8 @@ PATCH /v1/users/{id}/passwords - + + id string @@ -691,7 +702,8 @@ GET /v1/user-stored-credentials - + + user_id @@ -784,7 +796,8 @@ POST /v1/user-stored-credentials - + + @@ -891,7 +904,8 @@ POST /v1/applications - + + @@ -1014,7 +1028,8 @@ PATCH /v1/applications/{id} - + + id string @@ -1137,7 +1152,8 @@ GET /v1/application-templates - + + name @@ -1170,7 +1186,8 @@ GET /v1/applications - + + name @@ -1221,7 +1238,8 @@ GET /v1/application - + + domain @@ -1260,7 +1278,8 @@ GET /v1/applications/{id} - + + id string @@ -1293,7 +1312,8 @@ POST /v1/applications/{id}/enable - + + id string @@ -1326,7 +1346,8 @@ POST /v1/applications/{id}/disable - + + id string @@ -1359,7 +1380,8 @@ DELETE /v1/applications/{id} - + + id string @@ -1392,7 +1414,8 @@ POST /v1/applications/{id}/secrets - + + id string @@ -1425,7 +1448,8 @@ GET /v1/applications/{id}/configs - + + id string @@ -1458,7 +1482,8 @@ PATCH /v1/applications/{id}/configs - + + id string @@ -1533,7 +1558,8 @@ POST /v1/applications/{id}/sso/disable - + + id string @@ -1566,7 +1592,8 @@ POST /v1/applications/{id}/sso/enable - + + id string @@ -1599,7 +1626,8 @@ POST /v1/applications/{id}/mfa - + + id @@ -1638,7 +1666,8 @@ DELETE /v1/applications/{app_id}/mfa/{config_id} - + + app_id string @@ -1677,7 +1706,8 @@ POST /v1/applications/{id}/idp - + + id @@ -1716,7 +1746,8 @@ DELETE /v1/applications/{app_id}/idp/{config_id} - + + app_id string @@ -1755,7 +1786,8 @@ POST /v1/applications/{app_id}/protocols/{protocol_type}/enable - + + app_id @@ -1794,7 +1826,8 @@ POST /v1/applications/{app_id}/protocols/{protocol_type}/disable - + + app_id @@ -1833,7 +1866,8 @@ GET /v1/applications/{id}/protocols - + + id string @@ -1872,7 +1906,8 @@ GET /v1/applications/{app_id}/protocols/{protocol_type} - + + app_id @@ -1911,7 +1946,8 @@ PUT /v1/applications/{app_id}/protocols/{protocol_type} - + + app_id @@ -1956,7 +1992,8 @@ POST /v1/applications/{id}/accounts - + + id @@ -2049,7 +2086,8 @@ PUT /v1/applications/{app_id}/accounts/{id} - + + app_id string @@ -2142,7 +2180,8 @@ POST /v1/applications/{app_id}/accounts/{id}/enable - + + app_id @@ -2187,7 +2226,8 @@ POST /v1/applications/{app_id}/accounts/{id}/disable - + + app_id @@ -2226,7 +2266,8 @@ DELETE /v1/applications/{app_id}/accounts/{id} - + + app_id @@ -2265,7 +2306,8 @@ GET /v1/applications/{app_id}/accounts - + + app_id string @@ -2334,7 +2376,8 @@ GET /v1/application-accounts - + + app_id @@ -2403,7 +2446,8 @@ GET /v1/applications/{app_id}/accounts/{id} - + + app_id string @@ -2443,7 +2487,8 @@ GET /v1/privileges - + + identity_id @@ -2530,7 +2575,8 @@ GET /v1/auth-units - + + identity_id @@ -2593,7 +2639,8 @@ GET /v1/auth-units/{id} - + + id string @@ -2626,7 +2673,8 @@ POST /v1/batch/auth-unit-rules - + + @@ -2665,7 +2713,8 @@ PUT /v1/auth-units/{rid}/rules/{tid} - + + rid string @@ -2704,7 +2753,8 @@ GET /v1/auth-units/{rid}/rules - + + rid string @@ -2785,7 +2835,8 @@ GET /v1/auth-unit-rules - + + application_id @@ -2878,7 +2929,8 @@ DELETE /v1/batch/auth-unit-rules - + + @@ -2911,7 +2963,8 @@ POST /v1/resources - + + @@ -2974,7 +3027,8 @@ PUT /v1/resources/{id} - + + id string @@ -3025,7 +3079,8 @@ GET /v1/resources - + + application_id @@ -3094,7 +3149,8 @@ GET /v1/resources/{id} - + + id string @@ -3133,7 +3189,8 @@ DELETE /v1/batch/resources - + + @@ -3166,7 +3223,14 @@ POST /v1/resource-sets - + + + X-Tenant-id + string + true + 租户id + + @@ -3211,7 +3275,14 @@ PUT /v1/resource-sets/{id} - + + + X-Tenant-Id + string + true + 租户id + + id string @@ -3256,7 +3327,8 @@ GET /v1/resource-sets - + + code @@ -3319,7 +3391,8 @@ GET /v1/resource-sets/{id} - + + id string @@ -3352,7 +3425,8 @@ POST /v1/resource-sets/{id}/members - + + id string @@ -3409,7 +3483,8 @@ PUT /v1/resource-sets/{sid}/members/{mid} - + + sid string @@ -3472,7 +3547,8 @@ GET /v1/resource-sets/{sid}/members - + + sid string @@ -3535,7 +3611,8 @@ GET /v1/resource-sets/{sid}/members/{mid} - + + sid string @@ -3574,7 +3651,14 @@ POST /v1/batch/authz-apps - + + + X-Tenant-Id + string + true + 租户id + + @@ -3619,7 +3703,14 @@ GET /v1/authz-apps - + + + X-Tenant-Id + string + true + 租户id + + identity_id @@ -3665,7 +3756,8 @@ POST /v1/core-objects - + + @@ -3692,7 +3784,8 @@ GET /v1/tree-nodes/{id}/parent - + + id string @@ -3725,7 +3818,8 @@ DELETE /v1/tree-nodes/{id} - + + id string @@ -3764,7 +3858,8 @@ GET /v1/core-objects - + + @@ -3791,7 +3886,8 @@ PATCH /v1/core-objects/{id} - + + id string @@ -3824,7 +3920,8 @@ GET /v1/core-objects/{id} - + + id string @@ -3863,7 +3960,8 @@ DELETE /v1/core-objects/{id} - + + id string @@ -3896,7 +3994,8 @@ POST /v1/tree-users - + + @@ -3953,7 +4052,8 @@ PATCH /v1/tree-users/{id} - + + id @@ -4010,7 +4110,8 @@ GET /v1/tree-users - + + user_id @@ -4043,7 +4144,8 @@ GET /v1/tree-nodes/{id}/tree-users - + + id string @@ -4127,7 +4229,8 @@ DELETE /v1/tree-nodes/{node_id}/tree-users - + + node_id string @@ -4166,7 +4269,8 @@ DELETE /v1/tree-users/{id} - + + id string @@ -4217,7 +4321,8 @@ DELETE /v1/tree-users - + + @@ -4256,7 +4361,8 @@ POST /v1/tree-nodes - + + @@ -4283,7 +4389,8 @@ PATCH /v1/tree-nodes/{id} - + + id string @@ -4316,7 +4423,8 @@ DELETE /v1/tree-nodes/{id}/children - + + id string @@ -4355,13 +4463,14 @@ GET /v1/tree-nodes - + + object_code string true - 创建树时的object_code + 组织编码 name @@ -4418,7 +4527,8 @@ GET /v1/tree-nodes/{id} - + + id string @@ -4451,7 +4561,8 @@ GET /v1/tree-nodes/{id}/children - + + id string @@ -4500,7 +4611,8 @@ GET /v1/buckets - + + last @@ -4539,7 +4651,8 @@ GET /v1/buckets/{bucket}/objects - + + bucket string @@ -4584,7 +4697,8 @@ GET /v1/buckets/{bucket} - + + bucket string @@ -4617,7 +4731,8 @@ DELETE /v1/buckets/{bucket} - + + bucket string @@ -4650,7 +4765,8 @@ POST /v1/buckets/{bucket}/objects - + + bucket string @@ -4695,7 +4811,8 @@ GET /v1/buckets/{bucket}/objects/{key} - + + bucket string @@ -4734,7 +4851,8 @@ DELETE /v1/buckets/{bucket}/objects/{key} - + + bucket string