Nodes can now be shared with /nodes/<node_id>/share endpoint.
A POST will create a short link (if it doesn't exist already), whereas a GET will return the short link for the node. The endpoint will return a dict like: {'short_code': 'XXXXXX', 'short_link': 'https://blender.cloud/r/XXXXX', 'theatre_link': 'https://blender.cloud/r/XXXXX?t'}
This commit is contained in:
@@ -98,3 +98,6 @@ LOGGING = {
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
SHORT_LINK_BASE_URL = 'https://blender.cloud/r/'
|
||||
SHORT_CODE_LENGTH = 6 # characters
|
||||
|
Reference in New Issue
Block a user