You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/mesh-api.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1397,12 +1397,12 @@ paths:
1397
1397
Use this endpoint to send a message via MESH. Use the POST command to your virtual outbox. Specify the message recipient in the request headers, with the message contained in the request body.
1398
1398
1399
1399
### Messages larger than 100MB
1400
-
100MB (20MB on internet) is the largest data payload the MESH API accepts in a single request. Compress larger messages to reduce bandwidth and data storage on Spine. If compression does not sufficiently reduce the message size enough for transmission in a single request then you can break it up into smaller chunks and transmit them separately provided:
1400
+
The largest data payload the MESH API accepts in a single request is 100MB. Compress larger messages to reduce bandwidth and data storage on Spine. If compression does not sufficiently reduce the message size enough for transmission in a single request then you can break it up into smaller chunks and transmit them separately provided:
1401
1401
1. The total compressed size of the message is < 100MB - this is the Spine upper limit for a single message.
1402
1402
2. The receiver mailbox and workflow identifier support the downloading of chunked messages. MESH UI and older versions of the MESH client do not support this.
1403
1403
1404
1404
To correctly break the outbound message into valid chunks:
1405
-
1. Split the **uncompressed** message into `n` ordered chunks such that each (compressed) chunk is smaller than 20MB.
1405
+
1. Split the **uncompressed** message into `n` ordered chunks such that each (compressed) chunk is smaller than 100MB.
1406
1406
2. **Independently** compress each chunk with the same compression algorithm (e.g. `gzip`).
1407
1407
3. The first (compressed) chunk of the message should be transmitted using this endpoint (the normal send message endpoint). Include the optional `Mex-Chunk-Range` header with a value `1:n` to tell Spine that this is a chunked message and to wait for `n-1` other requests before delivering the message. The message identifier of this initial server response **must** be captured as it is a required path element of the Send chunked message URL.
1408
1408
@@ -1685,7 +1685,7 @@ paths:
1685
1685
summary: Send chunked message
1686
1686
description: |-
1687
1687
## Overview
1688
-
Use this endpoint to send a chunked message. The 'Send Message' endpoint has a maximum single request message payload size of 100MB over HSCN or 20MB over the internet. However, you can send much larger messages (up to 20GB) by breaking up the message into chunks and transmitting it over multiple requests.
1688
+
Use this endpoint to send a chunked message. The 'Send Message' endpoint has a maximum single request message payload size of 100MB. However, you can send much larger messages (up to 20GB) by breaking up the message into chunks and transmitting it over multiple requests.
1689
1689
1690
1690
**Note**: Some workflow ids do not support chunking because it is not currently supported in the MESH UI and older versions of the MESH client. Check with your receiving organisation before sending messages with this endpoint.
0 commit comments