61 Star 76 Fork 31

EdgeGallery / community

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
v1.5Interface-changes.md 2.42 KB
Copy Edit Web IDE Raw Blame History

Changes of apis in v1.5 version

Add tenants/:tenantId/ for apis follow.

Upload Config File

Upload Config File

Resource URI: /lcmcontroller/v2/tenants/:tenantId/configuration
Method: POST
Name Definition Type Required Allowed Max Length
access_token access token header yes Jwt Token
hostIp host Ip string yes Valid IP Address 15
configFile configFile formData yes

Example response:

200 OK
[
  "response": {}
]
201 Created
[
  "response": {}
]

Delete Config File

Removes the config file

Resource URI: /lcmcontroller/v2/tenants/:tenantId/configuration
Method: DELETE
Name Definition Type Required Allowed Max Length
access_token access_token header yes Jwt Token
hostIp host Ip string yes Valid IP Address 15

Example response:

200 OK

Add MEC host

Add mec host information

Resource URI: /lcmcontroller/v1/tenants/:tenantId/hosts
Method: POST
Name Definition Type Required Allowed Max Length
access_token access token header yes Jwt Token
mecHostInfo MecHostInfo body yes Valid UUID 64

Example response:

200 OK

Update MEC host

Add mec host information

Resource URI: /lcmcontroller/v1/tenants/:tenantId/hosts
Method: PUT
Name Definition Type Required Allowed Max Length
access_token access token header yes Jwt Token
mecHostInfo MecHostInfo body yes Valid UUID 64

Example response:

200 OK

Query MEC hosts

Query mec host information

Resource URI: /lcmcontroller/v1/tenants/:tenantId/hosts
Method: GET
Name Definition Type Required Allowed Max Length
access_token access token header yes Jwt Token

Example response:

200 OK
  {
    {}
  }

Query MEC hosts

Query mec host information

Resource URI: /inventory/v1/tenants/:tenantId/mechosts
Method: POST
Name Definition Type Required Allowed Max Length
access_token access token header yes Jwt Token

Example response:

200 OK
  {
    {}
  }

Delete MEC host

Delete mec host information

Resource URI: /lcmcontroller/v1/tenants/:tenantId/hosts:hostIp
Method: DELETE
Name Definition Type Required Allowed Max Length
access_token access_token header yes Jwt Token
host_ip host ip path yes Valid IP 15

Example response:

200 OK

Comment ( 0 )

Sign in to post a comment

1
https://gitee.com/edgegallery/community.git
git@gitee.com:edgegallery/community.git
edgegallery
community
community
master

Search

挂件 关闭按钮