Mutations
createFileAttachment
Attaches a file to an object in ION, such as a run, step, or part.
MUTATION
createFileAttachment(input: CreateFileAttachmentInput!): CreateFileAttachmentArguments
input
required
Returns
fileAttachment
uploadUrl
String
Mutation
mutation CreateFileAttachment($input: CreateFileAttachmentInput!) {
createFileAttachment(input: $input) {
fileAttachment {
LastSessionId
_AssetEntitiesCount
_FileAttachmentEntitiesCount
_created
_etag
_updated
}
uploadUrl
}
}Variables
{
"input": {}
}Response
{
"data": {
"createFileAttachment": {
"fileAttachment": {
"LastSessionId": "string",
"_AssetEntitiesCount": 1,
"_FileAttachmentEntitiesCount": 1,
"_created": "value",
"_etag": "string",
"_updated": "value"
},
"uploadUrl": "string"
}
}
}Was this page helpful?
⌘I
Mutation
mutation CreateFileAttachment($input: CreateFileAttachmentInput!) {
createFileAttachment(input: $input) {
fileAttachment {
LastSessionId
_AssetEntitiesCount
_FileAttachmentEntitiesCount
_created
_etag
_updated
}
uploadUrl
}
}Variables
{
"input": {}
}Response
{
"data": {
"createFileAttachment": {
"fileAttachment": {
"LastSessionId": "string",
"_AssetEntitiesCount": 1,
"_FileAttachmentEntitiesCount": 1,
"_created": "value",
"_etag": "string",
"_updated": "value"
},
"uploadUrl": "string"
}
}
}