POST /com/vmware/vapi/metadata/metamodel/source/id:{source_id} |
POST /com/vmware/vapi/metadata/metamodel/source/id:{source_id}?~action=create |
POST /com/vmware/vapi/metadata/metamodel/source?~action=create |
{
"source_id": "obj-103", "spec": {} }
<?xml version="1.0" ?>
<ns0:Create-Input xmlns:ns0="http://vmware.com/vapi/metadata/metamodel/source" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <spec> </spec> <source_id>obj-103</source_id> </ns0:Create-Input>
POST /com/vmware/vapi/metadata/metamodel/source?~action=create
&spec~emptyStruct &source_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
source_id* |
ID | Yes | metadata source identifier. Id of type com.vmware.vapi.metadata.metamodel.source. |
spec* |
create_spec | Yes | create specification. |
Name | Type | Required | Description |
---|---|---|---|
result | VOID | Yes |
Type | Description | HTTP Status Code |
---|---|---|
already_exists | if the metadata source identifier is already registered with the infrastructure. | 400 |
invalid_argument | if the type of the source specified in CreateSpec#type is invalid. | 400 |
not_found | if the file specified in CreateSpec#filepath does not exist. | 404 |
Copyright © 2014. All Rights Reserved.