cancel
Showing results for 
Search instead for 
Did you mean: 

I need help with a service. I need to send a file with content to Alfresco

viperboys
Star Contributor
Star Contributor

I am using this service
http://127.0.0.1:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/-shared-/children?alf_...

I send a Json file
{
"name":"PruebaData.pdf",
"nodeType":"cm:content",
"content": {
"mimeType": "text/plain",
"mimeTypeName": "Plain Text",
"sizeInBytes": 34,
"encoding": "ISO-8859-1"
},

"properties": {
"cm:title": "My text",
"cm:versionType": "MAJOR",
"cm:versionLabel": "1.0",
"cm:description": "My text document description",
"cm:lastThumbnailModification": [
"doclib:1567673959670",
"pdf:1567673964745"
]
}
}

I need that the file PruebaData.pdf have content. For example When i open the file have this text.. "This is the content.."

How i can do that with that service? Thank you

1 ACCEPTED ANSWER
1 REPLY 1

angelborroy
Community Manager Community Manager
Community Manager