RepositoryResource

The following resources are part of this group:

/repository/copy

POST

Duplicates a repository element by copying the source element to the destination element.

Parameters

name description type default
sourceNamespace The namespace of the repository elements to be copied. form
destinationNamespace The destination namespace of the repository elements to be copied. form

Response Body

element: (custom)
media types: */*
application/xml

The number of repository elements successfully copied.

/repository/promote

POST

Copies one element from the local (source) repository to the (target) repository of a different cluster. If an element with the same name already exists on the target repository, it is overwritten.

Parameters

name description type default
namespace The element to copy to the repository of a different cluster. It is an error if the namespace contains more than one element. form
host The host where a target engine in the different cluster resides. form
ssl (no documentation provided) form
port The remote port on the target host. form
username If the target engine is secured, a username with sufficient privileges to accept a promoted flow chart. If the target engine is not secured, this argument is ignored and may be null. form
password The password for the specified user, if any. form

Response Body

element: (custom)
media types: */*
application/xml

(no documentation provided)

/repository/remove

POST

Removes all elements in the repository in the specified namespace.

Parameters

name description type default
namespace A namespace of repository elements. form

Response Body

element: (custom)
media types: */*
application/xml

The number of elements in the specified the repository.

/repository/rename

POST

Renames a repository element by changing the elements' namespace in the repository.

Parameters

name description type default
sourceNamespace The existing namespace. form
destinationNamespace The new namespace. form

Response Body

element: (custom)
media types: */*
application/xml

The number of repository elements which were successfully renamed.

/repository/size

GET

Returns the number of elements in the repository in the specified namespace.

Parameters

name description type default
namespace A namespace of repository elements to remove. query

Response Body

element: (custom)
media types: */*
application/xml

The number of elements in the repository in the specified namespace.