Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DropboxReadFileDetailsURI is the endpoint for reading a files details DropboxReadFileDetailsURI = "/api/dropbox/readfiledetails?wrapInHTML=false&document.domain=" // DropboxReadURLURI is the endpoint for information for a file located at a URL DropboxReadURLURI = "/api/dropbox/readurl" // DropboxReadWSDLURI is the endpoint for reading a WSDL's details DropboxReadWSDLURI = "/api/dropbox/wsdls" )
Variables ¶
This section is empty.
Functions ¶
func ReadURL ¶
func ReadURL(config control.Configuration, debug bool) error
ReadURL provides information about a file located at an URL
func ReadWSDLzip ¶
func ReadWSDLzip(config control.Configuration, debug bool) error
ReadWSDLzip is a stub
Types ¶
type ReadFileDetailsResponse ¶
type ReadFileDetailsResponse struct { FileName string FileType string DropboxFileID int `json:"DropboxFileId"` ServiceDescriptorDocument []SpecDoc }
ReadFileDetailsResponse is the successful response of upload a spec file
func AddSpecToDropbox ¶
func AddSpecToDropbox(config control.Configuration, specfilepath string, debug bool) (ReadFileDetailsResponse, error)
AddSpecToDropbox adds a document to the Platform's dropbox. This is the ReadFileDetails endpoint of the Dropbox Service. http://docs.akana.com/cm/api/dropbox/m_dropbox_readFileDetails.htm
Click to show internal directories.
Click to hide internal directories.