rw-pkg-mgmt - User documentation

Schema Globals

Global Schema Type
rw_ypbc_RwPkgMgmt_RwPkgMgmt_t_schema
Global Schema Pointer
rw_ypbc_RwPkgMgmt_RwPkgMgmt_g_schema

rw-pkg-mgmt data

rw-pkg-mgmt:download-jobs

Download jobs

Key Identifiers:
XPath Path
/rw-pkg-mgmt:download-jobs
XPath Keyed Path
/rw-pkg-mgmt:download-jobs
RW.REST URI Path
/rw-pkg-mgmt:download-jobs

Fields
NameTypeDescription
jobLIST

JSON Sample

XML Sample

rw-pkg-mgmt:job

Key Identifiers:
XPath Path
/rw-pkg-mgmt:download-jobs/rw-pkg-mgmt:job
XPath Keyed Path
/rw-pkg-mgmt:download-jobs/rw-pkg-mgmt:job[rw-pkg-mgmt:download-id='STRING']
RW.REST URI Path
/rw-pkg-mgmt:download-jobs/job/STRING

Fields
NameTypeDescription
download-idSTRINGUnique UUID
urlSTRINGURL of the download
package-typeENUMType of the package
package-idSTRINGId of the package
package-pathSTRINGRelative path in the package
statusENUMThe status of the download task
detailSTRINGDetailed download status message
progress-percentUINT8The download progress percentage (0-100)
bytes_downloadedUINT64The number of bytes downloaded
bytes_totalUINT64The total number of bytes to write
bytes_per_secondUINT32The total number of bytes written per second
start-timeUINT32start time (unix epoch)
stop-timeUINT32stop time (unix epoch)

JSON Sample

XML Sample

rw-pkg-mgmt:copy-jobs

Copy jobs

Key Identifiers:
XPath Path
/rw-pkg-mgmt:copy-jobs
XPath Keyed Path
/rw-pkg-mgmt:copy-jobs
RW.REST URI Path
/rw-pkg-mgmt:copy-jobs

Fields
NameTypeDescription
jobLIST

JSON Sample

XML Sample

rw-pkg-mgmt:job

Key Identifiers:
XPath Path
/rw-pkg-mgmt:copy-jobs/rw-pkg-mgmt:job
XPath Keyed Path
/rw-pkg-mgmt:copy-jobs/rw-pkg-mgmt:job[rw-pkg-mgmt:transaction-id='STRING']
RW.REST URI Path
/rw-pkg-mgmt:copy-jobs/job/STRING

Fields
NameTypeDescription
transaction-idSTRINGUnique UUID
statusENUMThe status of the copy task

JSON Sample

XML Sample

rw-pkg-mgmt rpc input

rw-pkg-mgmt:get-package-endpoint

Key Identifiers:
XPath Path
/rw-pkg-mgmt:get-package-endpoint
XPath Keyed Path
/rw-pkg-mgmt:get-package-endpoint
RW.REST URI Path
/input

Fields
NameTypeDescription
package-typeENUMType of the package
package-idSTRINGId of the package

JSON Sample

XML Sample

rw-pkg-mgmt:package-copy

Key Identifiers:
XPath Path
/rw-pkg-mgmt:package-copy
XPath Keyed Path
/rw-pkg-mgmt:package-copy
RW.REST URI Path
/input

Fields
NameTypeDescription
package-typeENUMType of the package
package-idSTRINGId of the package
package-nameSTRINGName of destination package

JSON Sample

XML Sample

rw-pkg-mgmt:get-package-schema

Key Identifiers:
XPath Path
/rw-pkg-mgmt:get-package-schema
XPath Keyed Path
/rw-pkg-mgmt:get-package-schema
RW.REST URI Path
/input

Fields
NameTypeDescription
package-typeENUMType of the package

JSON Sample

XML Sample

rw-pkg-mgmt:package-create

Key Identifiers:
XPath Path
/rw-pkg-mgmt:package-create
XPath Keyed Path
/rw-pkg-mgmt:package-create
RW.REST URI Path
/input

Fields
NameTypeDescription
package-typeENUMType of the package
package-idSTRINGId of the package
external-urlSTRINGUrl to download
usernameSTRINGusername if the url uses authentication
passwordSTRINGpassword if the url uses authentication

JSON Sample

XML Sample

rw-pkg-mgmt:package-update

Key Identifiers:
XPath Path
/rw-pkg-mgmt:package-update
XPath Keyed Path
/rw-pkg-mgmt:package-update
RW.REST URI Path
/input

Fields
NameTypeDescription
package-typeENUMType of the package
package-idSTRINGId of the package
external-urlSTRINGUrl to download
usernameSTRINGusername if the url uses authentication
passwordSTRINGpassword if the url uses authentication

JSON Sample

XML Sample

rw-pkg-mgmt:package-export

Key Identifiers:
XPath Path
/rw-pkg-mgmt:package-export
XPath Keyed Path
/rw-pkg-mgmt:package-export
RW.REST URI Path
/input

Fields
NameTypeDescription
package-typeENUMType of the package
package-idSTRINGId of the package
export-schemaENUMSchema to export
export-grammarENUMSchema to export
export-formatENUMFormat to export

JSON Sample

XML Sample

rw-pkg-mgmt:package-file-add

Key Identifiers:
XPath Path
/rw-pkg-mgmt:package-file-add
XPath Keyed Path
/rw-pkg-mgmt:package-file-add
RW.REST URI Path
/input

Fields
NameTypeDescription
package-typeENUMType of the package
package-idSTRINGId of the package
package-pathSTRINGRelative path in the package
external-urlSTRINGUrl to download
usernameSTRINGusername if the url uses authentication
passwordSTRINGpassword if the url uses authentication

JSON Sample

XML Sample

rw-pkg-mgmt:package-file-delete

Key Identifiers:
XPath Path
/rw-pkg-mgmt:package-file-delete
XPath Keyed Path
/rw-pkg-mgmt:package-file-delete
RW.REST URI Path
/input

Fields
NameTypeDescription
package-typeENUMType of the package
package-idSTRINGId of the package
package-pathSTRINGRelative path in the package

JSON Sample

XML Sample

rw-pkg-mgmt rpc output

rw-pkg-mgmt:get-package-endpoint

Key Identifiers:
XPath Path
/rw-pkg-mgmt:get-package-endpoint
XPath Keyed Path
/rw-pkg-mgmt:get-package-endpoint
RW.REST URI Path
/output

Fields
NameTypeDescription
endpointSTRINGEndpoint that contains all the package-related data

JSON Sample

XML Sample

rw-pkg-mgmt:package-copy

Key Identifiers:
XPath Path
/rw-pkg-mgmt:package-copy
XPath Keyed Path
/rw-pkg-mgmt:package-copy
RW.REST URI Path
/output

Fields
NameTypeDescription
transaction-idSTRINGValid ID to track the status of the task
package-typeENUMType of the package
package-idSTRINGId of the package

JSON Sample

XML Sample

rw-pkg-mgmt:get-package-schema

Key Identifiers:
XPath Path
/rw-pkg-mgmt:get-package-schema
XPath Keyed Path
/rw-pkg-mgmt:get-package-schema
RW.REST URI Path
/output

Fields
NameTypeDescription
schemaLEAF_LISTList of all top level directories for the package.

JSON Sample

XML Sample

rw-pkg-mgmt:schema

List of all top level directories for the package.

Key Identifiers:
XPath Path
/rw-pkg-mgmt:get-package-schema/rw-pkg-mgmt:schema
XPath Keyed Path
/rw-pkg-mgmt:get-package-schema/rw-pkg-mgmt:schema
RW.REST URI Path
/output/schema

JSON Sample

XML Sample

rw-pkg-mgmt:package-create

Key Identifiers:
XPath Path
/rw-pkg-mgmt:package-create
XPath Keyed Path
/rw-pkg-mgmt:package-create
RW.REST URI Path
/output

Fields
NameTypeDescription
transaction-idSTRINGValid ID to track the status of the task

JSON Sample

XML Sample

rw-pkg-mgmt:package-update

Key Identifiers:
XPath Path
/rw-pkg-mgmt:package-update
XPath Keyed Path
/rw-pkg-mgmt:package-update
RW.REST URI Path
/output

Fields
NameTypeDescription
transaction-idSTRINGValid ID to track the status of the task

JSON Sample

XML Sample

rw-pkg-mgmt:package-export

Key Identifiers:
XPath Path
/rw-pkg-mgmt:package-export
XPath Keyed Path
/rw-pkg-mgmt:package-export
RW.REST URI Path
/output

Fields
NameTypeDescription
transaction-idSTRINGValid ID to track the status of the task
filenameSTRINGValid ID to track the status of the task

JSON Sample

XML Sample

rw-pkg-mgmt:package-file-add

Key Identifiers:
XPath Path
/rw-pkg-mgmt:package-file-add
XPath Keyed Path
/rw-pkg-mgmt:package-file-add
RW.REST URI Path
/output

Fields
NameTypeDescription
task-idSTRINGValid ID to track the status of the task

JSON Sample

XML Sample

rw-pkg-mgmt:package-file-delete

Key Identifiers:
XPath Path
/rw-pkg-mgmt:package-file-delete
XPath Keyed Path
/rw-pkg-mgmt:package-file-delete
RW.REST URI Path
/output

Fields
NameTypeDescription
statusSTRINGStatus of the delte operation
error-traceSTRINGTrace in case of a failure

JSON Sample

XML Sample