« first day (3681 days earlier)      last day (26 days later) » 

8:39 AM
Does anyone know of any good references or previous work on batch APIs with temporary reference keys?
My use case is a batch api for creating vertices and edges, so the client needs to assign some temporary batch id which is later swapped for a real ID in the database
 
 
2 hours later…
10:15 AM
@totokaka The Todoist API uses exactly such a system for batch requests: the client identifies new objects via a temporary UUID. The server then assigns its own IDs and returns a UUID to real ID mapping.
Todoist is a task management app where data forms a tree-like structure (projects have tasks have subtasks have attachments), but the same principle could be used for more complex graphs.
But if you trust the client, you should consider using UUIDs throughout your application
 
10:40 AM
Thanks a lot, that sounds very promising!
This is being added to an existing application, and the vertices and edges are not currently identified by UUIDs, so I think client-supplied UUIDs throughout the application is a no-go for now
 
10:57 AM
there will always be answers to our questions out there (unless it is so unique) as we are not the first of the programmers out there ... there will always be someone who would have asked such questions... so do a google search before adding a new question in stackoverflow — Patrick 41 secs ago
 
@Duga was that a comment on my question?
I spent some time searching the web for similar APIs or other references, but had a hard time coming up with good search terms. I figured this would be a better place to ask than to post a proper question
 
11:59 AM
@totokaka No, Duga is a bot that echos possibly relevant comments from Stack Overflow into chat here. Feel free to ignore.
 
 
4 hours later…
4:23 PM
@TylerH, thanks for the feedback! Is Software Engineering a StackExchange site? — Jake Smith 11 secs ago
 

« first day (3681 days earlier)      last day (26 days later) »