Skip to content

Commit

Permalink
Updated to latest API release
Browse files Browse the repository at this point in the history
  • Loading branch information
kirk-marple committed Dec 29, 2024
1 parent 7593da6 commit a446f17
Show file tree
Hide file tree
Showing 9 changed files with 947 additions and 397 deletions.
147 changes: 114 additions & 33 deletions documents/content/PublishContents.graphql
Original file line number Diff line number Diff line change
@@ -1,46 +1,127 @@
mutation PublishContents($summaryPrompt: String, $publishPrompt: String!, $connector: ContentPublishingConnectorInput!, $filter: ContentFilter, $isSynchronous: Boolean, $correlationId: String, $name: String, $summarySpecification: EntityReferenceInput, $publishSpecification: EntityReferenceInput, $workflow: EntityReferenceInput) {
publishContents(summaryPrompt: $summaryPrompt, publishPrompt: $publishPrompt, connector: $connector, filter: $filter, isSynchronous: $isSynchronous, correlationId: $correlationId, name: $name, summarySpecification: $summarySpecification, publishSpecification: $publishSpecification, workflow: $workflow) {
id
name
state
type
fileType
mimeType
uri
collections {
content {
id
name
}
observations {
id
state
originalDate
identifier
markdown
uri
type
observable {
id
name
fileType
mimeType
format
formatName
fileExtension
fileName
fileSize
masterUri
imageUri
textUri
audioUri
transcriptUri
summary
customSummary
keywords
bullets
headlines
posts
chapters
questions
video {
width
height
duration
make
model
software
title
description
keywords
author
}
audio {
keywords
author
series
episode
episodeType
season
publisher
copyright
genre
title
description
bitrate
channels
sampleRate
bitsPerSample
duration
}
related {
image {
width
height
resolutionX
resolutionY
bitsPerComponent
components
projectionType
orientation
description
make
model
software
lens
focalLength
exposureTime
fNumber
iso
heading
pitch
}
document {
title
subject
summary
author
publisher
description
keywords
pageCount
worksheetCount
slideCount
wordCount
lineCount
paragraphCount
isEncrypted
hasDigitalSignature
}
}
details {
contents {
id
name
}
relatedType
relation
occurrences {
type
confidence
startTime
endTime
pageIndex
boundingBox {
left
top
width
height
summaries {
index
relevance
chunks {
index
pageIndex
rowIndex
columnIndex
confidence
text
role
relevance
}
}
state
text
textType
summarySpecification
publishSpecification
summaryTime
publishTime
}
textUri
audioUri
markdown
}
}
122 changes: 88 additions & 34 deletions documents/content/PublishText.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,98 @@ mutation PublishText($text: String!, $textType: TextTypes, $connector: ContentPu
id
name
state
originalDate
identifier
markdown
uri
type
fileType
mimeType
uri
collections {
id
name
}
observations {
id
type
observable {
id
name
}
related {
id
name
}
relatedType
relation
occurrences {
type
confidence
startTime
endTime
pageIndex
boundingBox {
left
top
width
height
}
}
state
}
format
formatName
fileExtension
fileName
fileSize
masterUri
imageUri
textUri
audioUri
markdown
transcriptUri
summary
customSummary
keywords
bullets
headlines
posts
chapters
questions
video {
width
height
duration
make
model
software
title
description
keywords
author
}
audio {
keywords
author
series
episode
episodeType
season
publisher
copyright
genre
title
description
bitrate
channels
sampleRate
bitsPerSample
duration
}
image {
width
height
resolutionX
resolutionY
bitsPerComponent
components
projectionType
orientation
description
make
model
software
lens
focalLength
exposureTime
fNumber
iso
heading
pitch
}
document {
title
subject
summary
author
publisher
description
keywords
pageCount
worksheetCount
slideCount
wordCount
lineCount
paragraphCount
isEncrypted
hasDigitalSignature
}
}
}
Loading

0 comments on commit a446f17

Please sign in to comment.