Is there a way to retrieve ALL of the attachments from Rally? All of the export options in Rally appear to export only data, not the attachments. I want to be able to export attachments as well.
Does the API support retrieving attachments?
you can get at attachments through the web services api. You would need to issue a query for the artifacts you want to loop over and then check the Attachments field on that artifact - it should be a collection of attachment artifacts. This should be documented in the web services api documentation (Help in Rally > Web Services API in the upper right) For example - look at Defect, then look for the Attachments field and the Attachment Type for more information.
Hope that helps.
Related
It seems that API allows to assign users to a task (called an Item in the API) using the body field responsible_uid at the add an item endpoint. However I cannot find a way to list user uids or any other way to get user details anywhere in API documentation.
Official python library todoist-python doesn't provide any way to do this either. So for now it seems I can only create tasks without assigning them to anybody, which is a bummer.
Any advise grately appreciated!
Links:
Todoist Sync API
Todoist
REST API
You should first share a project and then you can get all collaborators in the Sync request.
I'm currently debugging some code which is supposed to return an attachment for a given document, but no attachment is coming back. Raven studio indicates that there are attachments in the database - it shows me that a number of attachments exist - but I can't see, via the studio web UI, if a particular document has an attachment.
Is there a way to query attachments via the studio UI? Also is there a way to tell if a document has an attachment via the studio UI? Online documentation don't seem to be clear on this. Alternatively is there a way to query ravendb using the http API for attachments?
I've tried the url suggested in RavenDB attachments but it returned an empty array as a response
GET databases/{databaseName}/static/ will give you the list of attachments in the db.
Is there a way to use the Dropbox API to list docs in a Paper folder?
There isn't a way to list all Paper documents in a specific folder directly, but I'll pass this along as a feature request.
The closest thing is to use /2/paper/docs/list[/continue], which let you list all of the Paper documents the user has either accessed (filter_by=docs_accessed) or created (filter_by=docs_created).
Do any of the major online photo storage/sharing platforms offer a reasonable way to export a set of image URLs and titles as something like a CSV or fetch them as JSON from a REST API?
I am trying to get any sort of clean list of title, url value pairs for all the images in a particular folder or gallery.
Google Drive/Photos would be my prefered platform, but I would switch to DropBox or other service if I could easily get such an export list.
If you're going to use Google Drive, you'll probably end up using these properties from File Resource:
webViewLink - a link for opening the file in a relevant Google editor
or
webContentLink - a link for downloading the content of the file in a
browser.
You can fetch this properties using files.list or files.get.
For Dropbox, you would use the /2/files/list_folder[/continue] endpoints to list the desired files:
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue
Then, you can use /2/sharing/create_shared_link_with_settings to create shared links for the desired files:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings
Or, to retrieve existing shared links, use /2/sharing/list_shared_links:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links
Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible:
https://www.dropbox.com/developers/documentation
Those have corresponding native methods for the HTTPS endpoints.
I need to send messages with attachments to the conference, also update messages for all users with an event.
Can somebody help me?
any example please
It would help if you specify what you have tried so far with a code example as this would also tell whether you are using the REST API or JS SDK (or Node.js SDK).
I'll assume you are using the JS SDK.
To send attachments use the addTextItem API. As seen on that page the attachments attribute is a regular File object.
An example app with file upload is available at https://github.com/circuit/circuit-sdk/blob/master/examples/js/messaging.html and running live at https://rawgit.com/circuit/circuit-sdk/master/examples/js/messaging.html.
This example is listed on our examples page at https://circuit.github.io/jssdk.html
Note that if you are referring to Node.js SDK file upload see example https://github.com/circuit/node-sdk-example
I am not clear what you mean "also update messages for all users with an event". The event raised when sending a message (with or without attachment) is itemAdded.
Subscribe to it via:
client.addEventListener('itemAdded', evt => {
console.log(evt);
});