Idea

Joshua Strunk avatar image
Joshua Strunk suggested

Set multiple TitleData keys in single API call.

I would like to be able set multiple Title Data keys in a single API call. All the other Admin/Server API calls that set/update data allow you to set multiple key:data pairs at once except for SetTitleData and SetInternalTitleData. This would help support custom tools(Excel) for editing and pushing formatted(JSON) TitleData in bulk. Right now it is tedious to have to sequence multiple (20+) set calls to TitleData and still run the risk of 503ing the service if you don't spread them out enough.

sdksTitle Data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

3 Comments

·
Brent Batas (Lisk) avatar image
Brent Batas (Lisk) commented

Is this still not possible?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

muhammad avatar image
muhammad commented

Same question - is this not possible?

This is an important issue to ensure that the data push converges in zero seconds time and therefore prevents clients who happen to request the title data ending up with a potentially "corrupted" data ie data that's in between an update operation.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brendan avatar image brendan commented ·

That would seem to conflate two concepts. The issue here is that Title Data can only be updated one KVP at a time, using SetTitleData. A KVP set this was cannot return a mix of old and new data - it would only return either the old data or the new data. But since Title Data is a sharded and cached resource, there will be a short period where either might be returned. So if you were to update 5 KVPs in a single call, you still might get a mix of old and new when they are queried, depending on the TTL for each on the cache that actually services a query. We will be reducing that caching time in future, but that's a separate issue from this one.

0 Likes 0 ·
Martin avatar image
Martin commented

Same question - is this still not possible? It seem to be simple enough - just allow to send a Dictionary()

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write a Comment

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.