SettingsClustersSoftwareDraftsImportSpec

The Drafts.ImportSpec structure defines the information used to import the desired software specification.


Properties

string
file_id Optional

File identifier returned by the file upload endpoint after file is uploaded. This field is optional and it is only relevant when the value of Drafts.ImportSpec.source-type is PUSH.


string
location Optional

Location of the software specification file to be imported. This field is optional and it is only relevant when the value of Drafts.ImportSpec.source-type is PULL.


string
software_spec Optional

The JSON string representing the desired software specification. This field is optional and it is only relevant when the value of Drafts.ImportSpec.source-type is JSON_STRING.


source_type Required

Type of the source to import the desired software specification

JSON Example

{
    "source_type": "enum"
}
Feedback

Was this page helpful?