swagger_yunionconf.yaml 86 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131
  1. basePath: /
  2. consumes:
  3. - application/json
  4. definitions:
  5. Error:
  6. properties:
  7. class:
  8. type: string
  9. x-go-name: Class
  10. code:
  11. format: int64
  12. type: integer
  13. x-go-name: Code
  14. details:
  15. type: string
  16. x-go-name: Details
  17. type: object
  18. x-go-package: yunion.io/x/onecloud/pkg/httperrors
  19. InfrasResourceBaseUpdateInput:
  20. properties:
  21. description:
  22. description: 资源描述
  23. type: string
  24. x-go-name: Description
  25. name:
  26. description: 资源名称
  27. type: string
  28. x-go-name: Name
  29. type: object
  30. x-go-package: yunion.io/x/onecloud/pkg/apis
  31. ParameterCloneInput:
  32. properties:
  33. dest_name:
  34. type: string
  35. x-go-name: DestName
  36. dest_ns:
  37. type: string
  38. x-go-name: DestNs
  39. dest_ns_id:
  40. type: string
  41. x-go-name: DestNsId
  42. type: object
  43. x-go-package: yunion.io/x/onecloud/pkg/apis/yunionconf
  44. PerformChangeDomainOwnerInput:
  45. properties:
  46. project_domain_id:
  47. description: 指定项目归属域名称或ID
  48. type: string
  49. x-go-name: ProjectDomainId
  50. type: object
  51. x-go-package: yunion.io/x/onecloud/pkg/apis
  52. PerformPrivateInput:
  53. type: object
  54. x-go-package: yunion.io/x/onecloud/pkg/apis
  55. PerformPublicDomainInput:
  56. properties:
  57. scope:
  58. description: 共享项目资源的共享范围,可能的值为:project, domain和system
  59. pattern: project|domain|system
  60. type: string
  61. x-go-name: Scope
  62. shared_domain_ids:
  63. description: 如果共享范围为域,则在此列表中指定共享的目标域
  64. items:
  65. type: string
  66. type: array
  67. x-go-name: SharedDomainIds
  68. type: object
  69. x-go-package: yunion.io/x/onecloud/pkg/apis
  70. ResourceBaseCreateInput:
  71. type: object
  72. x-go-package: yunion.io/x/onecloud/pkg/apis
  73. ResourceBaseDetails:
  74. properties:
  75. can_delete:
  76. description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因
  77. example: true
  78. type: boolean
  79. x-go-name: CanDelete
  80. can_update:
  81. description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因
  82. example: true
  83. type: boolean
  84. x-go-name: CanUpdate
  85. delete_fail_reason:
  86. $ref: '#/definitions/Error'
  87. update_fail_reason:
  88. $ref: '#/definitions/Error'
  89. type: object
  90. x-go-package: yunion.io/x/onecloud/pkg/apis
  91. ResourceBaseUpdateInput:
  92. type: object
  93. x-go-package: yunion.io/x/onecloud/pkg/apis
  94. STag:
  95. properties:
  96. key:
  97. description: 标签Kye
  98. type: string
  99. x-go-name: Key
  100. value:
  101. description: 标签Value
  102. type: string
  103. x-go-name: Value
  104. type: object
  105. x-go-package: yunion.io/x/onecloud/pkg/util/tagutils
  106. ScopedPolicyBindInput:
  107. properties:
  108. scope:
  109. $ref: '#/definitions/TRbacScope'
  110. target_ids:
  111. description: 绑定的目标ID(域或者项目ID)
  112. items:
  113. type: string
  114. type: array
  115. x-go-name: TargetIds
  116. type: object
  117. x-go-package: yunion.io/x/onecloud/pkg/apis/yunionconf
  118. ScopedPolicyBindingDetails:
  119. properties:
  120. can_delete:
  121. description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因
  122. example: true
  123. type: boolean
  124. x-go-name: CanDelete
  125. can_update:
  126. description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因
  127. example: true
  128. type: boolean
  129. x-go-name: CanUpdate
  130. category:
  131. type: string
  132. x-go-name: Category
  133. created_at:
  134. description: 资源创建时间
  135. format: date-time
  136. type: string
  137. x-go-name: CreatedAt
  138. delete_fail_reason:
  139. $ref: '#/definitions/Error'
  140. deleted:
  141. description: 资源是否被删除
  142. type: boolean
  143. x-go-name: Deleted
  144. deleted_at:
  145. description: 资源删除时间
  146. format: date-time
  147. type: string
  148. x-go-name: DeletedAt
  149. domain_id:
  150. type: string
  151. x-go-name: DomainId
  152. id:
  153. type: string
  154. x-go-name: Id
  155. policy:
  156. type: object
  157. x-go-name: Policies
  158. policy_id:
  159. type: string
  160. x-go-name: PolicyId
  161. policy_name:
  162. type: string
  163. x-go-name: PolicyName
  164. priority:
  165. format: int64
  166. type: integer
  167. x-go-name: Priority
  168. project:
  169. type: string
  170. x-go-name: Project
  171. project_domain:
  172. type: string
  173. x-go-name: ProjectDomain
  174. project_id:
  175. type: string
  176. x-go-name: ProjectId
  177. update_fail_reason:
  178. $ref: '#/definitions/Error'
  179. update_version:
  180. description: 资源被更新次数
  181. format: int64
  182. type: integer
  183. x-go-name: UpdateVersion
  184. updated_at:
  185. description: 资源更新时间
  186. format: date-time
  187. type: string
  188. x-go-name: UpdatedAt
  189. type: object
  190. x-go-package: yunion.io/x/onecloud/pkg/apis/yunionconf
  191. ScopedPolicyCreateInput:
  192. properties:
  193. __meta__:
  194. additionalProperties:
  195. type: string
  196. description: 标签列表,最多支持20个
  197. example:
  198. user:rd: op
  199. type: object
  200. x-go-name: Metadata
  201. category:
  202. description: 策略类别
  203. type: string
  204. x-go-name: Category
  205. description:
  206. description: 资源描述
  207. example: test create network
  208. type: string
  209. x-go-name: Description
  210. dry_run:
  211. default: false
  212. description: 预检验参数,若为true则仅检查参数,并不真正创建变更
  213. type: boolean
  214. x-go-name: DryRun
  215. generate_name:
  216. description: |-
  217. 生成资源名称的模板,如果name为空,则为必填项
  218. description: generated resource name, given a pattern to generate name, required if name is not given
  219. example: test###
  220. type: string
  221. x-go-name: GenerateName
  222. is_emulated:
  223. description: |-
  224. 资源是否为模拟资源
  225. description: the resource is an emulated resource
  226. type: boolean
  227. x-go-name: IsEmulated
  228. is_public:
  229. description: 是否共享
  230. type: boolean
  231. x-go-name: IsPublic
  232. name:
  233. description: |-
  234. 资源名称,如果generate_name为空,则为必填项
  235. description: resource name, required if generated_name is not given
  236. example: test-network
  237. type: string
  238. uniqueItems: true
  239. x-go-name: Name
  240. policies:
  241. description: 策略定义内容
  242. type: object
  243. x-go-name: Policies
  244. project_domain_id:
  245. description: 指定项目归属域名称或ID
  246. type: string
  247. x-go-name: ProjectDomainId
  248. public_scope:
  249. description: 共享范围
  250. type: string
  251. x-go-name: PublicScope
  252. required:
  253. - name
  254. type: object
  255. x-go-package: yunion.io/x/onecloud/pkg/apis/yunionconf
  256. ScopedPolicyDetails:
  257. properties:
  258. can_delete:
  259. description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因
  260. example: true
  261. type: boolean
  262. x-go-name: CanDelete
  263. can_update:
  264. description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因
  265. example: true
  266. type: boolean
  267. x-go-name: CanUpdate
  268. category:
  269. description: 策略类别
  270. type: string
  271. x-go-name: Category
  272. created_at:
  273. description: 资源创建时间
  274. format: date-time
  275. type: string
  276. x-go-name: CreatedAt
  277. delete_fail_reason:
  278. $ref: '#/definitions/Error'
  279. deleted:
  280. description: 资源是否被删除
  281. type: boolean
  282. x-go-name: Deleted
  283. deleted_at:
  284. description: 资源删除时间
  285. format: date-time
  286. type: string
  287. x-go-name: DeletedAt
  288. description:
  289. description: 资源描述信息
  290. type: string
  291. x-go-name: Description
  292. domain_id:
  293. description: 域Id
  294. type: string
  295. x-go-name: DomainId
  296. domain_src:
  297. description: '归属Domain信息的来源, local: 本地设置, cloud: 从云上同步过来'
  298. example: local
  299. type: string
  300. x-go-name: DomainSrc
  301. id:
  302. description: 资源UUID
  303. type: string
  304. x-go-name: Id
  305. is_emulated:
  306. description: |-
  307. 是否是模拟资源, 部分从公有云上同步的资源并不真实存在, 例如宿主机
  308. list 接口默认不会返回这类资源,除非显示指定 is_emulate=true 过滤参数
  309. type: boolean
  310. x-go-name: IsEmulated
  311. is_public:
  312. description: 是否共享
  313. type: boolean
  314. x-go-name: IsPublic
  315. metadata:
  316. additionalProperties:
  317. type: string
  318. description: 标签
  319. type: object
  320. x-go-name: Metadata
  321. name:
  322. description: 资源名称
  323. type: string
  324. x-go-name: Name
  325. org_node_md5:
  326. description: 用以组织架构变更通知其他服务权限变更
  327. type: string
  328. x-go-name: OrgNodeMd5
  329. policies:
  330. description: 策略内容
  331. type: object
  332. x-go-name: Policies
  333. project_domain:
  334. description: 资源归属项目的域名称
  335. type: string
  336. x-go-name: ProjectDomain
  337. public_scope:
  338. description: 默认共享范围
  339. type: string
  340. x-go-name: PublicScope
  341. public_src:
  342. description: '共享设置的来源, local: 本地设置, cloud: 从云上同步过来'
  343. example: local
  344. type: string
  345. x-go-name: PublicSrc
  346. ref_count:
  347. format: int64
  348. type: integer
  349. x-go-name: RefCount
  350. shared_domains:
  351. description: 共享的域列表
  352. items:
  353. $ref: '#/definitions/SharedDomain'
  354. type: array
  355. x-go-name: SharedDomains
  356. shared_projects:
  357. description: 共享的项目列表
  358. items:
  359. $ref: '#/definitions/SharedProject'
  360. type: array
  361. x-go-name: SharedProjects
  362. update_fail_reason:
  363. $ref: '#/definitions/Error'
  364. update_version:
  365. description: 资源被更新次数
  366. format: int64
  367. type: integer
  368. x-go-name: UpdateVersion
  369. updated_at:
  370. description: 资源更新时间
  371. format: date-time
  372. type: string
  373. x-go-name: UpdatedAt
  374. type: object
  375. x-go-package: yunion.io/x/onecloud/pkg/apis/yunionconf
  376. ScopedPolicyUpdateInput:
  377. properties:
  378. description:
  379. description: 资源描述
  380. type: string
  381. x-go-name: Description
  382. name:
  383. description: 资源名称
  384. type: string
  385. x-go-name: Name
  386. policies:
  387. description: 策略定义内容
  388. type: object
  389. x-go-name: Policies
  390. type: object
  391. x-go-package: yunion.io/x/onecloud/pkg/apis/yunionconf
  392. SharedDomain:
  393. properties:
  394. id:
  395. type: string
  396. x-go-name: Id
  397. name:
  398. type: string
  399. x-go-name: Name
  400. type: object
  401. x-go-package: yunion.io/x/onecloud/pkg/apis
  402. SharedProject:
  403. properties:
  404. domain:
  405. type: string
  406. x-go-name: Domain
  407. domain_id:
  408. type: string
  409. x-go-name: DomainId
  410. id:
  411. type: string
  412. x-go-name: Id
  413. name:
  414. type: string
  415. x-go-name: Name
  416. type: object
  417. x-go-package: yunion.io/x/onecloud/pkg/apis
  418. TRbacScope:
  419. type: string
  420. x-go-package: yunion.io/x/pkg/util/rbacscope
  421. TTagSet:
  422. items:
  423. $ref: '#/definitions/STag'
  424. type: array
  425. x-go-package: yunion.io/x/onecloud/pkg/util/tagutils
  426. TTagSetList:
  427. items:
  428. $ref: '#/definitions/TTagSet'
  429. type: array
  430. x-go-package: yunion.io/x/onecloud/pkg/util/tagutils
  431. TagCreateInput:
  432. properties:
  433. __meta__:
  434. additionalProperties:
  435. type: string
  436. description: 标签列表,最多支持20个
  437. example:
  438. user:rd: op
  439. type: object
  440. x-go-name: Metadata
  441. description:
  442. description: 资源描述
  443. example: test create network
  444. type: string
  445. x-go-name: Description
  446. dry_run:
  447. default: false
  448. description: 预检验参数,若为true则仅检查参数,并不真正创建变更
  449. type: boolean
  450. x-go-name: DryRun
  451. generate_name:
  452. description: |-
  453. 生成资源名称的模板,如果name为空,则为必填项
  454. description: generated resource name, given a pattern to generate name, required if name is not given
  455. example: test###
  456. type: string
  457. x-go-name: GenerateName
  458. is_emulated:
  459. description: |-
  460. 资源是否为模拟资源
  461. description: the resource is an emulated resource
  462. type: boolean
  463. x-go-name: IsEmulated
  464. is_public:
  465. description: 是否共享
  466. type: boolean
  467. x-go-name: IsPublic
  468. name:
  469. description: |-
  470. 资源名称,如果generate_name为空,则为必填项
  471. description: resource name, required if generated_name is not given
  472. example: test-network
  473. type: string
  474. uniqueItems: true
  475. x-go-name: Name
  476. project_domain_id:
  477. description: 指定项目归属域名称或ID
  478. type: string
  479. x-go-name: ProjectDomainId
  480. public_scope:
  481. description: 共享范围
  482. type: string
  483. x-go-name: PublicScope
  484. values:
  485. items:
  486. type: string
  487. type: array
  488. x-go-name: Values
  489. required:
  490. - name
  491. type: object
  492. x-go-package: yunion.io/x/onecloud/pkg/apis/yunionconf
  493. TagDetails:
  494. properties:
  495. can_delete:
  496. description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因
  497. example: true
  498. type: boolean
  499. x-go-name: CanDelete
  500. can_update:
  501. description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因
  502. example: true
  503. type: boolean
  504. x-go-name: CanUpdate
  505. delete_fail_reason:
  506. $ref: '#/definitions/Error'
  507. metadata:
  508. additionalProperties:
  509. type: string
  510. description: 标签
  511. type: object
  512. x-go-name: Metadata
  513. project_domain:
  514. description: 资源归属项目的域名称
  515. type: string
  516. x-go-name: ProjectDomain
  517. shared_domains:
  518. description: 共享的域列表
  519. items:
  520. $ref: '#/definitions/SharedDomain'
  521. type: array
  522. x-go-name: SharedDomains
  523. shared_projects:
  524. description: 共享的项目列表
  525. items:
  526. $ref: '#/definitions/SharedProject'
  527. type: array
  528. x-go-name: SharedProjects
  529. update_fail_reason:
  530. $ref: '#/definitions/Error'
  531. type: object
  532. x-go-package: yunion.io/x/onecloud/pkg/apis/yunionconf
  533. host: '"127.0.0.1:8889"'
  534. info:
  535. contact:
  536. email: lizexi@yunion.cn
  537. name: Zexi Li
  538. description: Yunionconf API
  539. license:
  540. name: Apache 2.0
  541. url: http://www.apache.org/licenses/LICENSE-2.0.html
  542. version: "1.0"
  543. paths:
  544. /parameters:
  545. get:
  546. description: 列表
  547. operationId: parameter_ListItemFilter
  548. parameters:
  549. - default: 20
  550. description: 查询限制量
  551. format: int64
  552. in: query
  553. name: limit
  554. type: integer
  555. x-go-name: Limit
  556. - default: 0
  557. description: 查询偏移量
  558. format: int64
  559. in: query
  560. name: offset
  561. type: integer
  562. x-go-name: Offset
  563. - description: 列表排序时,用于排序的字段的名称,该字段不提供时,则按默认字段排序。一般时按照资源的新建时间逆序排序。
  564. in: query
  565. items:
  566. type: string
  567. name: order_by
  568. type: array
  569. x-go-name: OrderBy
  570. - description: 列表排序时的顺序,desc为从高到低,asc为从低到高。默认是按照资源的创建时间desc排序。
  571. example: desc|asc
  572. in: query
  573. name: order
  574. type: string
  575. x-go-name: Order
  576. - description: 列表返回资源的更多详细信息。默认只显示基本字段,该字段为true则返回扩展字段信息。
  577. in: query
  578. name: details
  579. type: boolean
  580. x-go-name: Details
  581. - description: 模糊搜索所有字段
  582. in: query
  583. name: search
  584. type: string
  585. x-go-name: Search
  586. - description: |-
  587. 指定过滤条件,允许指定多个,每个条件的格式为"字段名称.操作符(匹配信息)",例如name字段等于test的过滤器为:name.equals('test')
  588. 支持的操作符如下:
  589. 操作符 | 参数个数 | 举例 | 说明 |
  590. ---------------|----------|------------------------------------------------|-----------------------------|
  591. in | > 0 | name.in("test", "good") | 在给定数组中 |
  592. notin | > 0 | name.notin('test') | 不在给定数组中 |
  593. between | 2 | created_at.between('2019-12-10', '2020-01-02') | 在两个值之间 |
  594. ge | 1 | created_at.ge('2020-01-01') | 大于或等于给定值 |
  595. gt | 1 | created_at.gt('2020-01-01') | 严格大于给定值 |
  596. le | 1 | created_at.le('2020-01-01') | 小于或等于给定值 |
  597. lt | 1 | sync_seconds.lt(900) | 严格大于给定值 |
  598. like | > 0 | name.like('%test%') | sql字符串匹配任意一个字符串 |
  599. contains | > 0 | name.contains('test') | 包含任意一个给定字符串 |
  600. startswith | > 0 | name.startswith('test') | 以任意一个给定字符串开头 |
  601. endswith | > 0 | name.endswith('test') | 以任意一个给定字符串结尾 |
  602. equals | > 0 | name.equals('test') | 等于任意一个给定值 |
  603. notequals | 1 | name.notequals('test') | 不等于给定值 |
  604. isnull | 0 | name.isnull() | 值为SQL的NULL |
  605. isnotnull | 0 | name.isnotnull() | 值不为SQL的NULL |
  606. isempty | 0 | name.isempty('test') | 值为空字符串 |
  607. isnotempty | 0 | name.isnotempty('test') | 值不是空字符串 |
  608. isnullorempty | 0 | name.isnullorempty('test') | 值为SQL的NULL或者空字符串 |
  609. in: query
  610. items:
  611. type: string
  612. name: filter
  613. type: array
  614. x-go-name: Filter
  615. - description: |-
  616. 指定关联过滤条件,允许指定多个,后端将根据关联过滤条件和其他表关联查询,支持的查询语法和filter相同,
  617. 和其他表关联的语法如下:
  618. joint_resources.related_key(origin_key).filter_col.filter_ops(values)
  619. 其中,joint_resources为要关联的资源名称,related_key为关联表column,origin_key为当前表column, filter_col为
  620. 关联表用于查询匹配的field名称,field_ops为filter支持的操作,values为匹配的值
  621. 举例:
  622. guestnetworks.guest_id(id).ip_addr.equals('10.168.21.222')
  623. in: query
  624. items:
  625. type: string
  626. name: joint_filter
  627. type: array
  628. x-go-name: JointFilter
  629. - description: 如果filter_any为true,则查询所有filter的并集,否则为交集
  630. in: query
  631. name: filter_any
  632. type: boolean
  633. x-go-name: FilterAny
  634. - description: 返回结果只包含指定的字段
  635. in: query
  636. items:
  637. type: string
  638. name: field
  639. type: array
  640. x-go-name: Field
  641. - description: 用于数据导出,指定导出的数据字段
  642. in: query
  643. name: export_keys
  644. type: string
  645. x-go-name: ExportKeys
  646. - description: 返回结果携带delete_fail_reason和update_fail_reason字段
  647. in: query
  648. name: show_fail_reason
  649. type: boolean
  650. x-go-name: ShowFailReason
  651. - description: 是否返回状态统计信息,默认为False
  652. in: query
  653. name: summary_stats
  654. type: boolean
  655. x-go-name: SummaryStats
  656. - in: query
  657. name: namespace_id
  658. type: string
  659. x-go-name: NamespaceId
  660. - description: 服务名称或ID
  661. in: query
  662. name: service_id
  663. type: string
  664. x-go-name: ServiceId
  665. - description: 用户名称或ID
  666. in: query
  667. name: user_id
  668. type: string
  669. x-go-name: UserId
  670. - description: filter by name
  671. in: query
  672. items:
  673. type: string
  674. name: name
  675. type: array
  676. x-go-name: Name
  677. responses:
  678. "200":
  679. $ref: '#/responses/parameter_ListItemFilterOutput'
  680. summary: 配置参数列表
  681. tags:
  682. - parameter
  683. post:
  684. description: 新建
  685. operationId: parameter_ValidateCreateData
  686. responses:
  687. "200":
  688. $ref: '#/responses/parameter_ValidateCreateDataOutput'
  689. summary: 新建
  690. tags:
  691. - parameter
  692. /parameters/{id}:
  693. delete:
  694. description: 删除
  695. operationId: parameter_CustomizeDelete
  696. parameters:
  697. - description: The Id or Name of parameter
  698. in: path
  699. name: id
  700. required: true
  701. type: string
  702. x-go-name: Id
  703. responses:
  704. "200":
  705. $ref: '#/responses/parameter_CustomizeDeleteOutput'
  706. summary: 删除
  707. tags:
  708. - parameter
  709. get:
  710. description: 获取详情
  711. operationId: parameter_FetchCustomizeColumns
  712. parameters:
  713. - description: The Id or Name of parameter
  714. in: path
  715. name: id
  716. required: true
  717. type: string
  718. x-go-name: Id
  719. responses:
  720. "200":
  721. $ref: '#/responses/parameter_FetchCustomizeColumnsOutput'
  722. summary: 获取详情
  723. tags:
  724. - parameter
  725. put:
  726. description: 更新
  727. operationId: parameter_ValidateUpdateData
  728. parameters:
  729. - description: The Id or Name of parameter
  730. in: path
  731. name: id
  732. required: true
  733. type: string
  734. x-go-name: Id
  735. responses:
  736. "200":
  737. $ref: '#/responses/parameter_ValidateUpdateDataOutput'
  738. summary: 更新
  739. tags:
  740. - parameter
  741. /parameters/{id}/clone:
  742. post:
  743. description: 执行操作Clone
  744. operationId: parameter_PerformClone
  745. parameters:
  746. - description: The Id or Name of parameter
  747. in: path
  748. name: id
  749. required: true
  750. type: string
  751. x-go-name: Id
  752. - in: body
  753. name: body
  754. schema:
  755. properties:
  756. parameter:
  757. $ref: '#/definitions/ParameterCloneInput'
  758. type: object
  759. x-go-name: Body
  760. responses:
  761. "200":
  762. $ref: '#/responses/parameter_PerformCloneOutput'
  763. summary: 执行操作Clone
  764. tags:
  765. - parameter
  766. /scopedpolicies:
  767. get:
  768. description: 列表
  769. operationId: scopedpolicy_ListItemFilter
  770. parameters:
  771. - default: 20
  772. description: 查询限制量
  773. format: int64
  774. in: query
  775. name: limit
  776. type: integer
  777. x-go-name: Limit
  778. - default: 0
  779. description: 查询偏移量
  780. format: int64
  781. in: query
  782. name: offset
  783. type: integer
  784. x-go-name: Offset
  785. - description: 列表排序时,用于排序的字段的名称,该字段不提供时,则按默认字段排序。一般时按照资源的新建时间逆序排序。
  786. in: query
  787. items:
  788. type: string
  789. name: order_by
  790. type: array
  791. x-go-name: OrderBy
  792. - description: 列表排序时的顺序,desc为从高到低,asc为从低到高。默认是按照资源的创建时间desc排序。
  793. example: desc|asc
  794. in: query
  795. name: order
  796. type: string
  797. x-go-name: Order
  798. - description: 列表返回资源的更多详细信息。默认只显示基本字段,该字段为true则返回扩展字段信息。
  799. in: query
  800. name: details
  801. type: boolean
  802. x-go-name: Details
  803. - description: 模糊搜索所有字段
  804. in: query
  805. name: search
  806. type: string
  807. x-go-name: Search
  808. - description: |-
  809. 指定过滤条件,允许指定多个,每个条件的格式为"字段名称.操作符(匹配信息)",例如name字段等于test的过滤器为:name.equals('test')
  810. 支持的操作符如下:
  811. 操作符 | 参数个数 | 举例 | 说明 |
  812. ---------------|----------|------------------------------------------------|-----------------------------|
  813. in | > 0 | name.in("test", "good") | 在给定数组中 |
  814. notin | > 0 | name.notin('test') | 不在给定数组中 |
  815. between | 2 | created_at.between('2019-12-10', '2020-01-02') | 在两个值之间 |
  816. ge | 1 | created_at.ge('2020-01-01') | 大于或等于给定值 |
  817. gt | 1 | created_at.gt('2020-01-01') | 严格大于给定值 |
  818. le | 1 | created_at.le('2020-01-01') | 小于或等于给定值 |
  819. lt | 1 | sync_seconds.lt(900) | 严格大于给定值 |
  820. like | > 0 | name.like('%test%') | sql字符串匹配任意一个字符串 |
  821. contains | > 0 | name.contains('test') | 包含任意一个给定字符串 |
  822. startswith | > 0 | name.startswith('test') | 以任意一个给定字符串开头 |
  823. endswith | > 0 | name.endswith('test') | 以任意一个给定字符串结尾 |
  824. equals | > 0 | name.equals('test') | 等于任意一个给定值 |
  825. notequals | 1 | name.notequals('test') | 不等于给定值 |
  826. isnull | 0 | name.isnull() | 值为SQL的NULL |
  827. isnotnull | 0 | name.isnotnull() | 值不为SQL的NULL |
  828. isempty | 0 | name.isempty('test') | 值为空字符串 |
  829. isnotempty | 0 | name.isnotempty('test') | 值不是空字符串 |
  830. isnullorempty | 0 | name.isnullorempty('test') | 值为SQL的NULL或者空字符串 |
  831. in: query
  832. items:
  833. type: string
  834. name: filter
  835. type: array
  836. x-go-name: Filter
  837. - description: |-
  838. 指定关联过滤条件,允许指定多个,后端将根据关联过滤条件和其他表关联查询,支持的查询语法和filter相同,
  839. 和其他表关联的语法如下:
  840. joint_resources.related_key(origin_key).filter_col.filter_ops(values)
  841. 其中,joint_resources为要关联的资源名称,related_key为关联表column,origin_key为当前表column, filter_col为
  842. 关联表用于查询匹配的field名称,field_ops为filter支持的操作,values为匹配的值
  843. 举例:
  844. guestnetworks.guest_id(id).ip_addr.equals('10.168.21.222')
  845. in: query
  846. items:
  847. type: string
  848. name: joint_filter
  849. type: array
  850. x-go-name: JointFilter
  851. - description: 如果filter_any为true,则查询所有filter的并集,否则为交集
  852. in: query
  853. name: filter_any
  854. type: boolean
  855. x-go-name: FilterAny
  856. - description: 返回结果只包含指定的字段
  857. in: query
  858. items:
  859. type: string
  860. name: field
  861. type: array
  862. x-go-name: Field
  863. - description: 用于数据导出,指定导出的数据字段
  864. in: query
  865. name: export_keys
  866. type: string
  867. x-go-name: ExportKeys
  868. - description: 返回结果携带delete_fail_reason和update_fail_reason字段
  869. in: query
  870. name: show_fail_reason
  871. type: boolean
  872. x-go-name: ShowFailReason
  873. - description: 是否返回状态统计信息,默认为False
  874. in: query
  875. name: summary_stats
  876. type: boolean
  877. x-go-name: SummaryStats
  878. - $ref: '#/definitions/TTagSet'
  879. description: 通过标签过滤(包含这些标签)
  880. in: query
  881. name: tags
  882. x-go-name: Tags
  883. - $ref: '#/definitions/TTagSetList'
  884. description: 通过一组标签过滤(还包含这些标签,OR的关系)
  885. in: query
  886. name: obj_tags
  887. x-go-name: ObjTags
  888. - $ref: '#/definitions/TTagSet'
  889. description: 通过标签过滤(不包含这些标签)
  890. in: query
  891. name: no_tags
  892. x-go-name: NoTags
  893. - $ref: '#/definitions/TTagSetList'
  894. description: 通过一组标签过滤(还不包含这些标签,AND的关系)
  895. in: query
  896. name: no_obj_tags
  897. x-go-name: NoObjTags
  898. - description: 通过标签排序
  899. in: query
  900. name: order_by_tag
  901. type: string
  902. x-go-name: OrderByTag
  903. - description: |-
  904. deprecated
  905. 返回资源的标签不包含用户标签
  906. in: query
  907. name: without_user_meta
  908. type: boolean
  909. x-go-name: WithoutUserMeta
  910. - description: 返回包含用户标签的资源
  911. in: query
  912. name: with_user_meta
  913. type: boolean
  914. x-go-name: WithUserMeta
  915. - description: 返回包含外部标签的资源
  916. in: query
  917. name: with_cloud_meta
  918. type: boolean
  919. x-go-name: WithCloudMeta
  920. - description: 返回包含任意标签的资源
  921. in: query
  922. name: with_any_meta
  923. type: boolean
  924. x-go-name: WithAnyMeta
  925. - description: 返回列表数据中包含资源的标签数据(Metadata)
  926. in: query
  927. name: with_meta
  928. type: boolean
  929. x-go-name: WithMeta
  930. - description: 显示所有的资源,包括模拟的资源
  931. in: query
  932. name: show_emulated
  933. type: boolean
  934. x-go-name: ShowEmulated
  935. - description: 以资源ID过滤列表
  936. in: query
  937. items:
  938. type: string
  939. name: id
  940. type: array
  941. x-go-name: Ids
  942. - description: 以资源名称过滤列表
  943. in: query
  944. items:
  945. type: string
  946. name: name
  947. type: array
  948. x-go-name: Names
  949. - description: 指定查询的权限范围,可能值为project, domain or system
  950. in: query
  951. name: scope
  952. type: string
  953. x-go-name: Scope
  954. - description: 指定项目归属域名称或ID
  955. in: query
  956. name: project_domain_id
  957. type: string
  958. x-go-name: ProjectDomainId
  959. - description: 对具有域属性的资源,严格匹配域ID
  960. in: query
  961. items:
  962. type: string
  963. name: project_domain_ids
  964. type: array
  965. x-go-name: ProjectDomainIds
  966. - description: 按domain名称排序,可能值为asc|desc
  967. in: query
  968. name: order_by_domain
  969. pattern: asc|desc
  970. type: string
  971. x-go-name: OrderByDomain
  972. - $ref: '#/definitions/TTagSetList'
  973. description: filter by domain tags
  974. in: query
  975. name: domain_tags
  976. x-go-name: DomainTags
  977. - $ref: '#/definitions/TTagSetList'
  978. description: filter by domain tags
  979. in: query
  980. name: no_domain_tags
  981. x-go-name: NoDomainTags
  982. - description: 以资源是否共享过滤列表
  983. in: query
  984. name: is_public
  985. type: boolean
  986. x-go-name: IsPublic
  987. - description: 根据资源的共享范围过滤列表,可能值为:system, domain, project
  988. in: query
  989. name: public_scope
  990. type: string
  991. x-go-name: PublicScope
  992. - description: 策略类别
  993. in: query
  994. items:
  995. type: string
  996. name: category
  997. type: array
  998. x-go-name: Category
  999. responses:
  1000. "200":
  1001. $ref: '#/responses/scopedpolicy_ListItemFilterOutput'
  1002. summary: 范围策略列表
  1003. tags:
  1004. - scopedpolicy
  1005. post:
  1006. description: 新建
  1007. operationId: scopedpolicy_ValidateCreateData
  1008. parameters:
  1009. - in: body
  1010. name: body
  1011. schema:
  1012. properties:
  1013. count:
  1014. default: 1
  1015. format: int64
  1016. type: integer
  1017. x-go-name: Count
  1018. scopedpolicy:
  1019. $ref: '#/definitions/ScopedPolicyCreateInput'
  1020. type: object
  1021. x-go-name: Body
  1022. responses:
  1023. "200":
  1024. $ref: '#/responses/scopedpolicy_ValidateCreateDataOutput'
  1025. summary: 新建
  1026. tags:
  1027. - scopedpolicy
  1028. /scopedpolicies/{id}:
  1029. delete:
  1030. description: 删除
  1031. operationId: scopedpolicy_CustomizeDelete
  1032. parameters:
  1033. - description: The Id or Name of scopedpolicy
  1034. in: path
  1035. name: id
  1036. required: true
  1037. type: string
  1038. x-go-name: Id
  1039. responses:
  1040. "200":
  1041. $ref: '#/responses/scopedpolicy_CustomizeDeleteOutput'
  1042. summary: 删除
  1043. tags:
  1044. - scopedpolicy
  1045. get:
  1046. description: 获取详情
  1047. operationId: scopedpolicy_FetchCustomizeColumns
  1048. parameters:
  1049. - description: The Id or Name of scopedpolicy
  1050. in: path
  1051. name: id
  1052. required: true
  1053. type: string
  1054. x-go-name: Id
  1055. responses:
  1056. "200":
  1057. $ref: '#/responses/scopedpolicy_FetchCustomizeColumnsOutput'
  1058. summary: 获取详情
  1059. tags:
  1060. - scopedpolicy
  1061. put:
  1062. description: 更新
  1063. operationId: scopedpolicy_ValidateUpdateData
  1064. parameters:
  1065. - description: The Id or Name of scopedpolicy
  1066. in: path
  1067. name: id
  1068. required: true
  1069. type: string
  1070. x-go-name: Id
  1071. - in: body
  1072. name: body
  1073. schema:
  1074. properties:
  1075. scopedpolicy:
  1076. $ref: '#/definitions/ScopedPolicyUpdateInput'
  1077. type: object
  1078. x-go-name: Body
  1079. responses:
  1080. "200":
  1081. $ref: '#/responses/scopedpolicy_ValidateUpdateDataOutput'
  1082. summary: 更新
  1083. tags:
  1084. - scopedpolicy
  1085. /scopedpolicies/{id}/bind:
  1086. post:
  1087. description: 执行操作Bind
  1088. operationId: scopedpolicy_PerformBind
  1089. parameters:
  1090. - description: The Id or Name of scopedpolicy
  1091. in: path
  1092. name: id
  1093. required: true
  1094. type: string
  1095. x-go-name: Id
  1096. - in: body
  1097. name: body
  1098. schema:
  1099. properties:
  1100. scopedpolicy:
  1101. $ref: '#/definitions/ScopedPolicyBindInput'
  1102. type: object
  1103. x-go-name: Body
  1104. responses:
  1105. "200":
  1106. $ref: '#/responses/scopedpolicy_PerformBindOutput'
  1107. summary: 执行操作Bind
  1108. tags:
  1109. - scopedpolicy
  1110. /scopedpolicies/{id}/change-owner:
  1111. post:
  1112. description: 执行操作ChangeOwner
  1113. operationId: scopedpolicy_PerformChangeOwner
  1114. parameters:
  1115. - description: The Id or Name of scopedpolicy
  1116. in: path
  1117. name: id
  1118. required: true
  1119. type: string
  1120. x-go-name: Id
  1121. - in: body
  1122. name: body
  1123. schema:
  1124. properties:
  1125. scopedpolicy:
  1126. $ref: '#/definitions/PerformChangeDomainOwnerInput'
  1127. type: object
  1128. x-go-name: Body
  1129. responses:
  1130. "200":
  1131. $ref: '#/responses/scopedpolicy_PerformChangeOwnerOutput'
  1132. summary: 执行操作ChangeOwner
  1133. tags:
  1134. - scopedpolicy
  1135. /scopedpolicies/{id}/metadata:
  1136. get:
  1137. description: 获取指定信息Metadata
  1138. operationId: scopedpolicy_GetDetailsMetadata
  1139. parameters:
  1140. - description: |-
  1141. 指定需要获取的所有标签的KEY列表,如果列表为空,则获取全部标签
  1142. 标签分为
  1143. 类型 | 说明 |
  1144. ----------|---------------------------------------------|
  1145. 系统标签 | 平台定义的标签 |
  1146. 用户标签 | key以user:为前缀,用户自定义标签 |
  1147. 外部标签 | key以ext:为前缀,为从其他平台同步过来的标签 |
  1148. in: query
  1149. items:
  1150. type: string
  1151. name: field
  1152. type: array
  1153. x-go-name: Field
  1154. - description: 按标签前缀过滤
  1155. in: query
  1156. name: prefix
  1157. type: string
  1158. x-go-name: Prefix
  1159. - description: The Id or Name of scopedpolicy
  1160. in: path
  1161. name: id
  1162. required: true
  1163. type: string
  1164. x-go-name: Id
  1165. responses:
  1166. "200":
  1167. $ref: '#/responses/scopedpolicy_GetDetailsMetadataOutput'
  1168. summary: 获取资源标签(元数据)
  1169. tags:
  1170. - scopedpolicy
  1171. /scopedpolicies/{id}/private:
  1172. post:
  1173. description: 执行操作Private
  1174. operationId: scopedpolicy_PerformPrivate
  1175. parameters:
  1176. - description: The Id or Name of scopedpolicy
  1177. in: path
  1178. name: id
  1179. required: true
  1180. type: string
  1181. x-go-name: Id
  1182. - in: body
  1183. name: body
  1184. schema:
  1185. properties:
  1186. scopedpolicy:
  1187. $ref: '#/definitions/PerformPrivateInput'
  1188. type: object
  1189. x-go-name: Body
  1190. responses:
  1191. "200":
  1192. $ref: '#/responses/scopedpolicy_PerformPrivateOutput'
  1193. summary: 执行操作Private
  1194. tags:
  1195. - scopedpolicy
  1196. /scopedpolicies/{id}/public:
  1197. post:
  1198. description: 执行操作Public
  1199. operationId: scopedpolicy_PerformPublic
  1200. parameters:
  1201. - description: The Id or Name of scopedpolicy
  1202. in: path
  1203. name: id
  1204. required: true
  1205. type: string
  1206. x-go-name: Id
  1207. - in: body
  1208. name: body
  1209. schema:
  1210. properties:
  1211. scopedpolicy:
  1212. $ref: '#/definitions/PerformPublicDomainInput'
  1213. type: object
  1214. x-go-name: Body
  1215. responses:
  1216. "200":
  1217. $ref: '#/responses/scopedpolicy_PerformPublicOutput'
  1218. summary: 执行操作Public
  1219. tags:
  1220. - scopedpolicy
  1221. /scopedpolicybindings:
  1222. get:
  1223. description: 列表
  1224. operationId: scopedpolicybinding_ListItemFilter
  1225. parameters:
  1226. - default: 20
  1227. description: 查询限制量
  1228. format: int64
  1229. in: query
  1230. name: limit
  1231. type: integer
  1232. x-go-name: Limit
  1233. - default: 0
  1234. description: 查询偏移量
  1235. format: int64
  1236. in: query
  1237. name: offset
  1238. type: integer
  1239. x-go-name: Offset
  1240. - description: 列表排序时,用于排序的字段的名称,该字段不提供时,则按默认字段排序。一般时按照资源的新建时间逆序排序。
  1241. in: query
  1242. items:
  1243. type: string
  1244. name: order_by
  1245. type: array
  1246. x-go-name: OrderBy
  1247. - description: 列表排序时的顺序,desc为从高到低,asc为从低到高。默认是按照资源的创建时间desc排序。
  1248. example: desc|asc
  1249. in: query
  1250. name: order
  1251. type: string
  1252. x-go-name: Order
  1253. - description: 列表返回资源的更多详细信息。默认只显示基本字段,该字段为true则返回扩展字段信息。
  1254. in: query
  1255. name: details
  1256. type: boolean
  1257. x-go-name: Details
  1258. - description: 模糊搜索所有字段
  1259. in: query
  1260. name: search
  1261. type: string
  1262. x-go-name: Search
  1263. - description: |-
  1264. 指定过滤条件,允许指定多个,每个条件的格式为"字段名称.操作符(匹配信息)",例如name字段等于test的过滤器为:name.equals('test')
  1265. 支持的操作符如下:
  1266. 操作符 | 参数个数 | 举例 | 说明 |
  1267. ---------------|----------|------------------------------------------------|-----------------------------|
  1268. in | > 0 | name.in("test", "good") | 在给定数组中 |
  1269. notin | > 0 | name.notin('test') | 不在给定数组中 |
  1270. between | 2 | created_at.between('2019-12-10', '2020-01-02') | 在两个值之间 |
  1271. ge | 1 | created_at.ge('2020-01-01') | 大于或等于给定值 |
  1272. gt | 1 | created_at.gt('2020-01-01') | 严格大于给定值 |
  1273. le | 1 | created_at.le('2020-01-01') | 小于或等于给定值 |
  1274. lt | 1 | sync_seconds.lt(900) | 严格大于给定值 |
  1275. like | > 0 | name.like('%test%') | sql字符串匹配任意一个字符串 |
  1276. contains | > 0 | name.contains('test') | 包含任意一个给定字符串 |
  1277. startswith | > 0 | name.startswith('test') | 以任意一个给定字符串开头 |
  1278. endswith | > 0 | name.endswith('test') | 以任意一个给定字符串结尾 |
  1279. equals | > 0 | name.equals('test') | 等于任意一个给定值 |
  1280. notequals | 1 | name.notequals('test') | 不等于给定值 |
  1281. isnull | 0 | name.isnull() | 值为SQL的NULL |
  1282. isnotnull | 0 | name.isnotnull() | 值不为SQL的NULL |
  1283. isempty | 0 | name.isempty('test') | 值为空字符串 |
  1284. isnotempty | 0 | name.isnotempty('test') | 值不是空字符串 |
  1285. isnullorempty | 0 | name.isnullorempty('test') | 值为SQL的NULL或者空字符串 |
  1286. in: query
  1287. items:
  1288. type: string
  1289. name: filter
  1290. type: array
  1291. x-go-name: Filter
  1292. - description: |-
  1293. 指定关联过滤条件,允许指定多个,后端将根据关联过滤条件和其他表关联查询,支持的查询语法和filter相同,
  1294. 和其他表关联的语法如下:
  1295. joint_resources.related_key(origin_key).filter_col.filter_ops(values)
  1296. 其中,joint_resources为要关联的资源名称,related_key为关联表column,origin_key为当前表column, filter_col为
  1297. 关联表用于查询匹配的field名称,field_ops为filter支持的操作,values为匹配的值
  1298. 举例:
  1299. guestnetworks.guest_id(id).ip_addr.equals('10.168.21.222')
  1300. in: query
  1301. items:
  1302. type: string
  1303. name: joint_filter
  1304. type: array
  1305. x-go-name: JointFilter
  1306. - description: 如果filter_any为true,则查询所有filter的并集,否则为交集
  1307. in: query
  1308. name: filter_any
  1309. type: boolean
  1310. x-go-name: FilterAny
  1311. - description: 返回结果只包含指定的字段
  1312. in: query
  1313. items:
  1314. type: string
  1315. name: field
  1316. type: array
  1317. x-go-name: Field
  1318. - description: 用于数据导出,指定导出的数据字段
  1319. in: query
  1320. name: export_keys
  1321. type: string
  1322. x-go-name: ExportKeys
  1323. - description: 返回结果携带delete_fail_reason和update_fail_reason字段
  1324. in: query
  1325. name: show_fail_reason
  1326. type: boolean
  1327. x-go-name: ShowFailReason
  1328. - description: 是否返回状态统计信息,默认为False
  1329. in: query
  1330. name: summary_stats
  1331. type: boolean
  1332. x-go-name: SummaryStats
  1333. - in: query
  1334. items:
  1335. type: string
  1336. name: name
  1337. type: array
  1338. x-go-name: Name
  1339. - in: query
  1340. name: policy_id
  1341. type: string
  1342. x-go-name: PolicyId
  1343. - in: query
  1344. name: domain_id
  1345. type: string
  1346. x-go-name: DomainId
  1347. - in: query
  1348. name: project_id
  1349. type: string
  1350. x-go-name: ProjectId
  1351. - in: query
  1352. items:
  1353. type: string
  1354. name: category
  1355. type: array
  1356. x-go-name: Category
  1357. - in: query
  1358. name: effective
  1359. type: boolean
  1360. x-go-name: Effective
  1361. - in: query
  1362. name: scope
  1363. type: string
  1364. x-go-name: Scope
  1365. - in: query
  1366. name: order_by_scopedpolicy
  1367. type: string
  1368. x-go-name: OrderByScopedpolicy
  1369. responses:
  1370. "200":
  1371. $ref: '#/responses/scopedpolicybinding_ListItemFilterOutput'
  1372. summary: 范围策略列表
  1373. tags:
  1374. - scopedpolicybinding
  1375. post:
  1376. description: 新建
  1377. operationId: scopedpolicybinding_ValidateCreateData
  1378. parameters:
  1379. - in: body
  1380. name: body
  1381. schema:
  1382. properties:
  1383. count:
  1384. default: 1
  1385. format: int64
  1386. type: integer
  1387. x-go-name: Count
  1388. scopedpolicybinding:
  1389. $ref: '#/definitions/ResourceBaseCreateInput'
  1390. type: object
  1391. x-go-name: Body
  1392. responses:
  1393. "200":
  1394. $ref: '#/responses/scopedpolicybinding_ValidateCreateDataOutput'
  1395. summary: 新建
  1396. tags:
  1397. - scopedpolicybinding
  1398. /scopedpolicybindings/{id}:
  1399. delete:
  1400. description: 删除
  1401. operationId: scopedpolicybinding_CustomizeDelete
  1402. parameters:
  1403. - description: The Id or Name of scopedpolicybinding
  1404. in: path
  1405. name: id
  1406. required: true
  1407. type: string
  1408. x-go-name: Id
  1409. responses:
  1410. "200":
  1411. $ref: '#/responses/scopedpolicybinding_CustomizeDeleteOutput'
  1412. summary: 删除
  1413. tags:
  1414. - scopedpolicybinding
  1415. get:
  1416. description: 获取详情
  1417. operationId: scopedpolicybinding_FetchCustomizeColumns
  1418. parameters:
  1419. - description: The Id or Name of scopedpolicybinding
  1420. in: path
  1421. name: id
  1422. required: true
  1423. type: string
  1424. x-go-name: Id
  1425. responses:
  1426. "200":
  1427. $ref: '#/responses/scopedpolicybinding_FetchCustomizeColumnsOutput'
  1428. summary: 获取详情
  1429. tags:
  1430. - scopedpolicybinding
  1431. put:
  1432. description: 更新
  1433. operationId: scopedpolicybinding_ValidateUpdateData
  1434. parameters:
  1435. - description: The Id or Name of scopedpolicybinding
  1436. in: path
  1437. name: id
  1438. required: true
  1439. type: string
  1440. x-go-name: Id
  1441. - in: body
  1442. name: body
  1443. schema:
  1444. properties:
  1445. scopedpolicybinding:
  1446. $ref: '#/definitions/ResourceBaseUpdateInput'
  1447. type: object
  1448. x-go-name: Body
  1449. responses:
  1450. "200":
  1451. $ref: '#/responses/scopedpolicybinding_ValidateUpdateDataOutput'
  1452. summary: 更新
  1453. tags:
  1454. - scopedpolicybinding
  1455. /tags:
  1456. get:
  1457. description: 列表
  1458. operationId: tag_ListItemFilter
  1459. parameters:
  1460. - default: 20
  1461. description: 查询限制量
  1462. format: int64
  1463. in: query
  1464. name: limit
  1465. type: integer
  1466. x-go-name: Limit
  1467. - default: 0
  1468. description: 查询偏移量
  1469. format: int64
  1470. in: query
  1471. name: offset
  1472. type: integer
  1473. x-go-name: Offset
  1474. - description: 列表排序时,用于排序的字段的名称,该字段不提供时,则按默认字段排序。一般时按照资源的新建时间逆序排序。
  1475. in: query
  1476. items:
  1477. type: string
  1478. name: order_by
  1479. type: array
  1480. x-go-name: OrderBy
  1481. - description: 列表排序时的顺序,desc为从高到低,asc为从低到高。默认是按照资源的创建时间desc排序。
  1482. example: desc|asc
  1483. in: query
  1484. name: order
  1485. type: string
  1486. x-go-name: Order
  1487. - description: 列表返回资源的更多详细信息。默认只显示基本字段,该字段为true则返回扩展字段信息。
  1488. in: query
  1489. name: details
  1490. type: boolean
  1491. x-go-name: Details
  1492. - description: 模糊搜索所有字段
  1493. in: query
  1494. name: search
  1495. type: string
  1496. x-go-name: Search
  1497. - description: |-
  1498. 指定过滤条件,允许指定多个,每个条件的格式为"字段名称.操作符(匹配信息)",例如name字段等于test的过滤器为:name.equals('test')
  1499. 支持的操作符如下:
  1500. 操作符 | 参数个数 | 举例 | 说明 |
  1501. ---------------|----------|------------------------------------------------|-----------------------------|
  1502. in | > 0 | name.in("test", "good") | 在给定数组中 |
  1503. notin | > 0 | name.notin('test') | 不在给定数组中 |
  1504. between | 2 | created_at.between('2019-12-10', '2020-01-02') | 在两个值之间 |
  1505. ge | 1 | created_at.ge('2020-01-01') | 大于或等于给定值 |
  1506. gt | 1 | created_at.gt('2020-01-01') | 严格大于给定值 |
  1507. le | 1 | created_at.le('2020-01-01') | 小于或等于给定值 |
  1508. lt | 1 | sync_seconds.lt(900) | 严格大于给定值 |
  1509. like | > 0 | name.like('%test%') | sql字符串匹配任意一个字符串 |
  1510. contains | > 0 | name.contains('test') | 包含任意一个给定字符串 |
  1511. startswith | > 0 | name.startswith('test') | 以任意一个给定字符串开头 |
  1512. endswith | > 0 | name.endswith('test') | 以任意一个给定字符串结尾 |
  1513. equals | > 0 | name.equals('test') | 等于任意一个给定值 |
  1514. notequals | 1 | name.notequals('test') | 不等于给定值 |
  1515. isnull | 0 | name.isnull() | 值为SQL的NULL |
  1516. isnotnull | 0 | name.isnotnull() | 值不为SQL的NULL |
  1517. isempty | 0 | name.isempty('test') | 值为空字符串 |
  1518. isnotempty | 0 | name.isnotempty('test') | 值不是空字符串 |
  1519. isnullorempty | 0 | name.isnullorempty('test') | 值为SQL的NULL或者空字符串 |
  1520. in: query
  1521. items:
  1522. type: string
  1523. name: filter
  1524. type: array
  1525. x-go-name: Filter
  1526. - description: |-
  1527. 指定关联过滤条件,允许指定多个,后端将根据关联过滤条件和其他表关联查询,支持的查询语法和filter相同,
  1528. 和其他表关联的语法如下:
  1529. joint_resources.related_key(origin_key).filter_col.filter_ops(values)
  1530. 其中,joint_resources为要关联的资源名称,related_key为关联表column,origin_key为当前表column, filter_col为
  1531. 关联表用于查询匹配的field名称,field_ops为filter支持的操作,values为匹配的值
  1532. 举例:
  1533. guestnetworks.guest_id(id).ip_addr.equals('10.168.21.222')
  1534. in: query
  1535. items:
  1536. type: string
  1537. name: joint_filter
  1538. type: array
  1539. x-go-name: JointFilter
  1540. - description: 如果filter_any为true,则查询所有filter的并集,否则为交集
  1541. in: query
  1542. name: filter_any
  1543. type: boolean
  1544. x-go-name: FilterAny
  1545. - description: 返回结果只包含指定的字段
  1546. in: query
  1547. items:
  1548. type: string
  1549. name: field
  1550. type: array
  1551. x-go-name: Field
  1552. - description: 用于数据导出,指定导出的数据字段
  1553. in: query
  1554. name: export_keys
  1555. type: string
  1556. x-go-name: ExportKeys
  1557. - description: 返回结果携带delete_fail_reason和update_fail_reason字段
  1558. in: query
  1559. name: show_fail_reason
  1560. type: boolean
  1561. x-go-name: ShowFailReason
  1562. - description: 是否返回状态统计信息,默认为False
  1563. in: query
  1564. name: summary_stats
  1565. type: boolean
  1566. x-go-name: SummaryStats
  1567. - $ref: '#/definitions/TTagSet'
  1568. description: 通过标签过滤(包含这些标签)
  1569. in: query
  1570. name: tags
  1571. x-go-name: Tags
  1572. - $ref: '#/definitions/TTagSetList'
  1573. description: 通过一组标签过滤(还包含这些标签,OR的关系)
  1574. in: query
  1575. name: obj_tags
  1576. x-go-name: ObjTags
  1577. - $ref: '#/definitions/TTagSet'
  1578. description: 通过标签过滤(不包含这些标签)
  1579. in: query
  1580. name: no_tags
  1581. x-go-name: NoTags
  1582. - $ref: '#/definitions/TTagSetList'
  1583. description: 通过一组标签过滤(还不包含这些标签,AND的关系)
  1584. in: query
  1585. name: no_obj_tags
  1586. x-go-name: NoObjTags
  1587. - description: 通过标签排序
  1588. in: query
  1589. name: order_by_tag
  1590. type: string
  1591. x-go-name: OrderByTag
  1592. - description: |-
  1593. deprecated
  1594. 返回资源的标签不包含用户标签
  1595. in: query
  1596. name: without_user_meta
  1597. type: boolean
  1598. x-go-name: WithoutUserMeta
  1599. - description: 返回包含用户标签的资源
  1600. in: query
  1601. name: with_user_meta
  1602. type: boolean
  1603. x-go-name: WithUserMeta
  1604. - description: 返回包含外部标签的资源
  1605. in: query
  1606. name: with_cloud_meta
  1607. type: boolean
  1608. x-go-name: WithCloudMeta
  1609. - description: 返回包含任意标签的资源
  1610. in: query
  1611. name: with_any_meta
  1612. type: boolean
  1613. x-go-name: WithAnyMeta
  1614. - description: 返回列表数据中包含资源的标签数据(Metadata)
  1615. in: query
  1616. name: with_meta
  1617. type: boolean
  1618. x-go-name: WithMeta
  1619. - description: 显示所有的资源,包括模拟的资源
  1620. in: query
  1621. name: show_emulated
  1622. type: boolean
  1623. x-go-name: ShowEmulated
  1624. - description: 以资源ID过滤列表
  1625. in: query
  1626. items:
  1627. type: string
  1628. name: id
  1629. type: array
  1630. x-go-name: Ids
  1631. - description: 以资源名称过滤列表
  1632. in: query
  1633. items:
  1634. type: string
  1635. name: name
  1636. type: array
  1637. x-go-name: Names
  1638. - description: 指定查询的权限范围,可能值为project, domain or system
  1639. in: query
  1640. name: scope
  1641. type: string
  1642. x-go-name: Scope
  1643. - description: 指定项目归属域名称或ID
  1644. in: query
  1645. name: project_domain_id
  1646. type: string
  1647. x-go-name: ProjectDomainId
  1648. - description: 对具有域属性的资源,严格匹配域ID
  1649. in: query
  1650. items:
  1651. type: string
  1652. name: project_domain_ids
  1653. type: array
  1654. x-go-name: ProjectDomainIds
  1655. - description: 按domain名称排序,可能值为asc|desc
  1656. in: query
  1657. name: order_by_domain
  1658. pattern: asc|desc
  1659. type: string
  1660. x-go-name: OrderByDomain
  1661. - $ref: '#/definitions/TTagSetList'
  1662. description: filter by domain tags
  1663. in: query
  1664. name: domain_tags
  1665. x-go-name: DomainTags
  1666. - $ref: '#/definitions/TTagSetList'
  1667. description: filter by domain tags
  1668. in: query
  1669. name: no_domain_tags
  1670. x-go-name: NoDomainTags
  1671. - description: 以资源是否共享过滤列表
  1672. in: query
  1673. name: is_public
  1674. type: boolean
  1675. x-go-name: IsPublic
  1676. - description: 根据资源的共享范围过滤列表,可能值为:system, domain, project
  1677. in: query
  1678. name: public_scope
  1679. type: string
  1680. x-go-name: PublicScope
  1681. responses:
  1682. "200":
  1683. $ref: '#/responses/tag_ListItemFilterOutput'
  1684. summary: 预置标签列表
  1685. tags:
  1686. - tag
  1687. post:
  1688. description: 新建
  1689. operationId: tag_ValidateCreateData
  1690. parameters:
  1691. - in: body
  1692. name: body
  1693. schema:
  1694. properties:
  1695. count:
  1696. default: 1
  1697. format: int64
  1698. type: integer
  1699. x-go-name: Count
  1700. tag:
  1701. $ref: '#/definitions/TagCreateInput'
  1702. type: object
  1703. x-go-name: Body
  1704. responses:
  1705. "200":
  1706. $ref: '#/responses/tag_ValidateCreateDataOutput'
  1707. summary: 新建
  1708. tags:
  1709. - tag
  1710. /tags/{id}:
  1711. delete:
  1712. description: 删除
  1713. operationId: tag_CustomizeDelete
  1714. parameters:
  1715. - description: The Id or Name of tag
  1716. in: path
  1717. name: id
  1718. required: true
  1719. type: string
  1720. x-go-name: Id
  1721. responses:
  1722. "200":
  1723. $ref: '#/responses/tag_CustomizeDeleteOutput'
  1724. summary: 删除
  1725. tags:
  1726. - tag
  1727. get:
  1728. description: 获取详情
  1729. operationId: tag_FetchCustomizeColumns
  1730. parameters:
  1731. - description: The Id or Name of tag
  1732. in: path
  1733. name: id
  1734. required: true
  1735. type: string
  1736. x-go-name: Id
  1737. responses:
  1738. "200":
  1739. $ref: '#/responses/tag_FetchCustomizeColumnsOutput'
  1740. summary: 获取详情
  1741. tags:
  1742. - tag
  1743. put:
  1744. description: 更新
  1745. operationId: tag_ValidateUpdateData
  1746. parameters:
  1747. - description: The Id or Name of tag
  1748. in: path
  1749. name: id
  1750. required: true
  1751. type: string
  1752. x-go-name: Id
  1753. - in: body
  1754. name: body
  1755. schema:
  1756. properties:
  1757. tag:
  1758. $ref: '#/definitions/InfrasResourceBaseUpdateInput'
  1759. type: object
  1760. x-go-name: Body
  1761. responses:
  1762. "200":
  1763. $ref: '#/responses/tag_ValidateUpdateDataOutput'
  1764. summary: 更新
  1765. tags:
  1766. - tag
  1767. /tags/{id}/change-owner:
  1768. post:
  1769. description: 执行操作ChangeOwner
  1770. operationId: tag_PerformChangeOwner
  1771. parameters:
  1772. - description: The Id or Name of tag
  1773. in: path
  1774. name: id
  1775. required: true
  1776. type: string
  1777. x-go-name: Id
  1778. - in: body
  1779. name: body
  1780. schema:
  1781. properties:
  1782. tag:
  1783. $ref: '#/definitions/PerformChangeDomainOwnerInput'
  1784. type: object
  1785. x-go-name: Body
  1786. responses:
  1787. "200":
  1788. $ref: '#/responses/tag_PerformChangeOwnerOutput'
  1789. summary: 执行操作ChangeOwner
  1790. tags:
  1791. - tag
  1792. /tags/{id}/metadata:
  1793. get:
  1794. description: 获取指定信息Metadata
  1795. operationId: tag_GetDetailsMetadata
  1796. parameters:
  1797. - description: |-
  1798. 指定需要获取的所有标签的KEY列表,如果列表为空,则获取全部标签
  1799. 标签分为
  1800. 类型 | 说明 |
  1801. ----------|---------------------------------------------|
  1802. 系统标签 | 平台定义的标签 |
  1803. 用户标签 | key以user:为前缀,用户自定义标签 |
  1804. 外部标签 | key以ext:为前缀,为从其他平台同步过来的标签 |
  1805. in: query
  1806. items:
  1807. type: string
  1808. name: field
  1809. type: array
  1810. x-go-name: Field
  1811. - description: 按标签前缀过滤
  1812. in: query
  1813. name: prefix
  1814. type: string
  1815. x-go-name: Prefix
  1816. - description: The Id or Name of tag
  1817. in: path
  1818. name: id
  1819. required: true
  1820. type: string
  1821. x-go-name: Id
  1822. responses:
  1823. "200":
  1824. $ref: '#/responses/tag_GetDetailsMetadataOutput'
  1825. summary: 获取资源标签(元数据)
  1826. tags:
  1827. - tag
  1828. /tags/{id}/private:
  1829. post:
  1830. description: 执行操作Private
  1831. operationId: tag_PerformPrivate
  1832. parameters:
  1833. - description: The Id or Name of tag
  1834. in: path
  1835. name: id
  1836. required: true
  1837. type: string
  1838. x-go-name: Id
  1839. - in: body
  1840. name: body
  1841. schema:
  1842. properties:
  1843. tag:
  1844. $ref: '#/definitions/PerformPrivateInput'
  1845. type: object
  1846. x-go-name: Body
  1847. responses:
  1848. "200":
  1849. $ref: '#/responses/tag_PerformPrivateOutput'
  1850. summary: 执行操作Private
  1851. tags:
  1852. - tag
  1853. /tags/{id}/public:
  1854. post:
  1855. description: 执行操作Public
  1856. operationId: tag_PerformPublic
  1857. parameters:
  1858. - description: The Id or Name of tag
  1859. in: path
  1860. name: id
  1861. required: true
  1862. type: string
  1863. x-go-name: Id
  1864. - in: body
  1865. name: body
  1866. schema:
  1867. properties:
  1868. tag:
  1869. $ref: '#/definitions/PerformPublicDomainInput'
  1870. type: object
  1871. x-go-name: Body
  1872. responses:
  1873. "200":
  1874. $ref: '#/responses/tag_PerformPublicOutput'
  1875. summary: 执行操作Public
  1876. tags:
  1877. - tag
  1878. produces:
  1879. - application/json
  1880. responses:
  1881. parameter_CustomizeDeleteOutput:
  1882. description: ""
  1883. schema:
  1884. properties:
  1885. parameter:
  1886. $ref: '#/definitions/ResourceBaseDetails'
  1887. type: object
  1888. parameter_FetchCustomizeColumnsOutput:
  1889. description: ""
  1890. schema:
  1891. properties:
  1892. parameter:
  1893. $ref: '#/definitions/ResourceBaseDetails'
  1894. type: object
  1895. parameter_ListItemFilterOutput:
  1896. description: ""
  1897. schema:
  1898. properties:
  1899. limit:
  1900. format: int64
  1901. type: integer
  1902. x-go-name: Limit
  1903. offset:
  1904. format: int64
  1905. type: integer
  1906. x-go-name: Offset
  1907. parameters:
  1908. items:
  1909. $ref: '#/definitions/ResourceBaseDetails'
  1910. type: array
  1911. x-go-name: Output
  1912. total:
  1913. format: int64
  1914. type: integer
  1915. x-go-name: Total
  1916. type: object
  1917. parameter_PerformCloneOutput:
  1918. description: ""
  1919. parameter_ValidateCreateDataOutput:
  1920. description: ""
  1921. schema:
  1922. properties:
  1923. parameter:
  1924. $ref: '#/definitions/ResourceBaseDetails'
  1925. type: object
  1926. parameter_ValidateUpdateDataOutput:
  1927. description: ""
  1928. schema:
  1929. properties:
  1930. parameter:
  1931. $ref: '#/definitions/ResourceBaseDetails'
  1932. type: object
  1933. scopedpolicy_CustomizeDeleteOutput:
  1934. description: ""
  1935. schema:
  1936. properties:
  1937. scopedpolicy:
  1938. $ref: '#/definitions/ScopedPolicyDetails'
  1939. type: object
  1940. scopedpolicy_FetchCustomizeColumnsOutput:
  1941. description: ""
  1942. schema:
  1943. properties:
  1944. scopedpolicy:
  1945. $ref: '#/definitions/ScopedPolicyDetails'
  1946. type: object
  1947. scopedpolicy_GetDetailsMetadataOutput:
  1948. description: ""
  1949. schema:
  1950. properties:
  1951. scopedpolicy:
  1952. additionalProperties:
  1953. type: string
  1954. type: object
  1955. x-go-name: Output
  1956. type: object
  1957. scopedpolicy_ListItemFilterOutput:
  1958. description: ""
  1959. schema:
  1960. properties:
  1961. limit:
  1962. format: int64
  1963. type: integer
  1964. x-go-name: Limit
  1965. offset:
  1966. format: int64
  1967. type: integer
  1968. x-go-name: Offset
  1969. scopedpolicies:
  1970. items:
  1971. $ref: '#/definitions/ScopedPolicyDetails'
  1972. type: array
  1973. x-go-name: Output
  1974. total:
  1975. format: int64
  1976. type: integer
  1977. x-go-name: Total
  1978. type: object
  1979. scopedpolicy_PerformBindOutput:
  1980. description: ""
  1981. scopedpolicy_PerformChangeOwnerOutput:
  1982. description: ""
  1983. scopedpolicy_PerformPrivateOutput:
  1984. description: ""
  1985. scopedpolicy_PerformPublicOutput:
  1986. description: ""
  1987. scopedpolicy_ValidateCreateDataOutput:
  1988. description: ""
  1989. schema:
  1990. properties:
  1991. scopedpolicy:
  1992. $ref: '#/definitions/ScopedPolicyDetails'
  1993. type: object
  1994. scopedpolicy_ValidateUpdateDataOutput:
  1995. description: ""
  1996. schema:
  1997. properties:
  1998. scopedpolicy:
  1999. $ref: '#/definitions/ScopedPolicyDetails'
  2000. type: object
  2001. scopedpolicybinding_CustomizeDeleteOutput:
  2002. description: ""
  2003. schema:
  2004. properties:
  2005. scopedpolicybinding:
  2006. $ref: '#/definitions/ScopedPolicyBindingDetails'
  2007. type: object
  2008. scopedpolicybinding_FetchCustomizeColumnsOutput:
  2009. description: ""
  2010. schema:
  2011. properties:
  2012. scopedpolicybinding:
  2013. $ref: '#/definitions/ScopedPolicyBindingDetails'
  2014. type: object
  2015. scopedpolicybinding_ListItemFilterOutput:
  2016. description: ""
  2017. schema:
  2018. properties:
  2019. limit:
  2020. format: int64
  2021. type: integer
  2022. x-go-name: Limit
  2023. offset:
  2024. format: int64
  2025. type: integer
  2026. x-go-name: Offset
  2027. scopedpolicybindings:
  2028. items:
  2029. $ref: '#/definitions/ScopedPolicyBindingDetails'
  2030. type: array
  2031. x-go-name: Output
  2032. total:
  2033. format: int64
  2034. type: integer
  2035. x-go-name: Total
  2036. type: object
  2037. scopedpolicybinding_ValidateCreateDataOutput:
  2038. description: ""
  2039. schema:
  2040. properties:
  2041. scopedpolicybinding:
  2042. $ref: '#/definitions/ScopedPolicyBindingDetails'
  2043. type: object
  2044. scopedpolicybinding_ValidateUpdateDataOutput:
  2045. description: ""
  2046. schema:
  2047. properties:
  2048. scopedpolicybinding:
  2049. $ref: '#/definitions/ScopedPolicyBindingDetails'
  2050. type: object
  2051. tag_CustomizeDeleteOutput:
  2052. description: ""
  2053. schema:
  2054. properties:
  2055. tag:
  2056. $ref: '#/definitions/TagDetails'
  2057. type: object
  2058. tag_FetchCustomizeColumnsOutput:
  2059. description: ""
  2060. schema:
  2061. properties:
  2062. tag:
  2063. $ref: '#/definitions/TagDetails'
  2064. type: object
  2065. tag_GetDetailsMetadataOutput:
  2066. description: ""
  2067. schema:
  2068. properties:
  2069. tag:
  2070. additionalProperties:
  2071. type: string
  2072. type: object
  2073. x-go-name: Output
  2074. type: object
  2075. tag_ListItemFilterOutput:
  2076. description: ""
  2077. schema:
  2078. properties:
  2079. limit:
  2080. format: int64
  2081. type: integer
  2082. x-go-name: Limit
  2083. offset:
  2084. format: int64
  2085. type: integer
  2086. x-go-name: Offset
  2087. tags:
  2088. items:
  2089. $ref: '#/definitions/TagDetails'
  2090. type: array
  2091. x-go-name: Output
  2092. total:
  2093. format: int64
  2094. type: integer
  2095. x-go-name: Total
  2096. type: object
  2097. tag_PerformChangeOwnerOutput:
  2098. description: ""
  2099. tag_PerformPrivateOutput:
  2100. description: ""
  2101. tag_PerformPublicOutput:
  2102. description: ""
  2103. tag_ValidateCreateDataOutput:
  2104. description: ""
  2105. schema:
  2106. properties:
  2107. tag:
  2108. $ref: '#/definitions/TagDetails'
  2109. type: object
  2110. tag_ValidateUpdateDataOutput:
  2111. description: ""
  2112. schema:
  2113. properties:
  2114. tag:
  2115. $ref: '#/definitions/TagDetails'
  2116. type: object
  2117. schemes:
  2118. - https
  2119. - http
  2120. securityDefinitions:
  2121. keystone:
  2122. in: header
  2123. name: X-Auth-Token
  2124. type: apiKey
  2125. swagger: "2.0"