You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A question might be whether this change in parsing would be a good thing to do, and I don't know the answer to that. Django API calls can use a file extension to specify MIME type (which uses a dot character), so playing with how the API parses URL slugs may not be desirable. Or there may be no side effects, as far as current and future API calls to tilesets are concerned. This is probably a better question for @pkerpedjiev. A typical UUID that follows specification will not contain period or forward slash characters and the API does not appear to expect to parse a slug and ignore those characters.
As workarounds until more discussion can be happen on that, you might replace dots with underscores or other delimiters in your custom UUIDs when ingesting tileset files, or perhaps use the management script to handle assets with these non-spec UUIDs, e.g.:
Given a tileset with uuid sim_02_sorted.ballele
The following call to the rest interface returns an error and does not delete the tileset:
DELETE .../api/v1/tilesets/sim_02_sorted.ballele
The text was updated successfully, but these errors were encountered: