Example: Listing all file spaces
You can list all file spaces by submitting an HTTP request to the WebSphere® MQ File Transfer Edition Web Gateway. The Web Gateway returns a response in XML or JSON format that lists the names of the file spaces, the quota of each file space, and the users who are authorized and not authorized to write to each file space.
About this task
In this example, the server hosting the Web Gateway is example.com. There are currently three file spaces, belonging to the users richard, suzanne and hamilton. There are no file transfers currently in progress into the file space richard. There is one transfer in progress into the file space hamilton, and two transfers into the file space suzanne. The user who is requesting the information is associated with the security role wmqfte-admin. The header Accept: application/xml specifies that the query returns the results in XML format.