Is there any API for performing publisher operations in the WSO2 management registry?

I read the docs and I saw that there is access to the management API and web services, but I don’t understand the execution part. I would like to understand how to perform the below operations through the API.

1) how can I publish a service (SOAP or REST) ​​using the API?

2) how to configure values ​​for different elements of the publisher portal using the API?

Overview Categorization Contacts Interface Security Links Doc Tags Taxonomy

3) how can I load WSDL artifacts, schema, policy, etc.

+4
source share
2 answers

3 G-Reg

. REST API

REST API

WSO2 G-Reg Registry API

II. API (G-Reg 5.0.0 )

: ( )

URL:https://<host>:<port>/publisher/assets/schema/apis/schemas?type=schema

Method: POST
Header:Cookie: JSESSIONID=<SESSION-ID>

Payload:(form data)
schema : schema
schema_file : <schema file name>.xsd
filename : <schema file name>.xsd
schema_file_name : <schema file name>.xsd
file_version : <version>
addNewSchemaFileAssetButton : Create

:

. "schema_file

:

Status: 200 OK

zip , schema_file, filename schema_file_name zip . ( , .)

III. API - . (G-Reg 5.2.0 )

Content Type Content Download - WSDL Sample Request

? , !

+4

Source: https://habr.com/ru/post/1658377/


All Articles