Download OpenAPI specification:Download
Documentation for myOpenFactory Platform RESTful API.
The API uses preemptive basic authentication.
Notice: Every parameter which is not marked required is optional.
configID required | string Example: configID=dAGcZx To address a specific process |
size | integer [ 1 .. 100 ] Default: 30 Example: size=10 Limit number of transmissions per page |
page | integer >= 1 Default: 1 Example: page=2 Pagination |
[- {
- "id": "507f1f77bcf86cd799439011",
- "hash": {
- "method": "SHA256",
- "sum": "c01b39c7a35ccc3b081a3e83d2c71fa9a767ebfeb45c69f08e17dfe3ef375a7b"
}, - "metadata": {
- "messageID": "189023",
- "date": "2013-01-02"
}
}
]
Notice: Every parameter which is not marked required is optional.
configID required | string Example: configID=dAGcZx To address a specific process |
x-myof-metadata- | string headers starting with this prefix are user-defined metadata |
Transmission added to the platform
{- "id": "507f1f77bcf86cd799439011",
- "hash": {
- "method": "SHA256",
- "sum": "c01b39c7a35ccc3b081a3e83d2c71fa9a767ebfeb45c69f08e17dfe3ef375a7b"
}, - "metadata": {
- "messageID": "189023",
- "date": "2013-01-02"
}
}
Notice: Every parameter which is not marked required is optional.
id required | string Example: 807f1f77bcf86cd799439034 |
Information about message.
error | boolean Mark transmission and confirmed but with error |
message | string Log message |
{- "error": false,
- "message": "Saved message to xyz"
}
{- "code": 200,
- "message": "transmission confirmed",
- "reference": "REQ-3128"
}
Notice: Every parameter which is not marked required is optional.
Content-Disposition required | string specifies presentational information for the object. For more information, go to http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1 |
Content-Type required | string application/octet-stream |
x-myof-metadata- | string headers starting with this prefix are user-defined metadata |
{- "id": "207f1f77bcf86cd799439045",
- "url": "string",
- "content-disposition": "attachment; filename=\"filename.jpg\"",
- "content-type": "application/octet-stream",
- "metadata": {
- "messageID": "189023",
- "date": "2013-01-02"
}, - "hash": {
- "method": "SHA256",
- "sum": "c01b39c7a35ccc3b081a3e83d2c71fa9a767ebfeb45c69f08e17dfe3ef375a7b"
}
}