Skip to content

ndi.cloud.api.datasets.publishDataset

 PUBLISHDATASET User-facing wrapper to publish a dataset.

    [B, ANSWER, APIRESPONSE, APIURL] = ndi.cloud.api.datasets.publishDataset(CLOUDDATASETID)

    Marks a dataset on the NDI Cloud as "published".

    Inputs:
        cloudDatasetID - The ID of the dataset to publish.

    Outputs:
        b            - True if the call succeeded, false otherwise.
        answer       - A struct with the API response on success, or an error struct on failure.
        apiResponse  - The full matlab.net.http.ResponseMessage object.
        apiURL       - The URL that was called.

    Example:
        [success, result] = ndi.cloud.api.datasets.publishDataset('d-12345');

    See also: ndi.cloud.api.implementation.datasets.PublishDataset