Policy
Last updated
Last updated
Package : spaceone.api.repository.v1
Policy Methods:
POST /repository/v1/policies
PUT /repository/v1/policy/{policy}
DELETE /repository/v1/policy/{policy}
GET /repository/v1/policies/{policy}
GET /repository/v1/policies
POST /repository/v1/policies/search
POST /repository/v1/policies/stat
NO
Method
Request Type
Response Type
Description
1
2
3
4
5
6
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
No
Field
Type
Required
Description
1
name
string
✅
2
permissions
list of string
✅
3
labels
list of string
❌
4
tags
list of spaceone.api.core.v1.Tag
❌
5
project_id
string
❌
6
domain_id
string
✅
No
Field
Type
Required
Description
1
policy_id
string
✅
2
domain_id
string
✅
3
repository_id
string
❌
4
only
list of string
❌
No
Field
Type
Description
1
results
list of PolicyInfo
2
total_count
No
Field
Type
Description
1
policy_id
string
2
name
string
3
permissions
list of string
list of permissions
4
labels
list of string
list of labels
5
tags
list of spaceone.api.core.v1.Tag
6
repository_info
7
project_id
string
8
domain_id
string
9
created_at
No
Field
Type
Required
Description
1
query
❌
2
policy_id
string
❌
3
name
string
❌
4
project_id
string
❌
5
repository_id
string
✅
6
domain_id
string
✅
No
Field
Type
Required
Description
1
policy_id
string
✅
2
domain_id
string
✅
No
Field
Type
Required
Description
1
query
✅
2
repository_id
string
✅
3
domain_id
string
✅
No
Field
Type
Required
Description
1
policy_id
string
✅
2
name
string
❌
3
permissions
list of string
❌
4
labels
list of string
❌
5
tags
list of spaceone.api.core.v1.Tag
❌
6
domain_id
string
✅