Developer Documentation

DraftsImportSpec

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


Properties

Required Property Name Type Description
optional file_id string

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.

optional location string

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.

optional software_spec string

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.

required source_type DraftsSourceType Enum

Type of the source to import the desired software specification

Feedback

Was this page helpful?