Difference between revisions of "User:Adam Zaius/Serverside Storage"
Jump to navigation
Jump to search
Adam Zaius (talk | contribs) |
Adam Zaius (talk | contribs) |
||
Line 15: | Line 15: | ||
Parameter: "target" | Parameter: "target" | ||
</pre> | </pre> | ||
'''Requires being an estate manager or owner to set.''' | |||
* keyword - The keyword to store this data under, such as 'adamzaius_clouduuid' | * keyword - The keyword to store this data under, such as 'adamzaius_clouduuid' | ||
* data - a string containing the data that is to be stored [1024 char max?] | * data - a string containing the data that is to be stored - base64 encoded [1024 char max?] | ||
* target | * target | ||
** "0" - Save this data on just this region | ** "0" - Save this data on just this region | ||
Line 32: | Line 34: | ||
Parameter: "keyword" | Parameter: "keyword" | ||
</pre> | </pre> | ||
'''No permissions needed to get data.''' | |||
* keyword - The keyword to return data from | * keyword - The keyword to return data from |
Revision as of 08:35, 8 January 2007
This is a requested specification for storing information on the servers for custom clients to store and return custom variables. The aim is to keep it simple as possible.
Estate Level
EstateOwnerMessage to set and return values -- same as other estate-level functions
Storage Method
Client --> Server
--MethodData-- Method: "thirdpartystore" --ParamList-- Parameter: "keyword" Parameter: "data" Parameter: "target"
Requires being an estate manager or owner to set.
- keyword - The keyword to store this data under, such as 'adamzaius_clouduuid'
- data - a string containing the data that is to be stored - base64 encoded [1024 char max?]
- target
- "0" - Save this data on just this region
- "1" - Save this data on this entire estate
- "2" - Save this data on every region managed for estate owner
Retrival Method
Client --> Server
--MethodData-- Method: "thirdpartyget" --ParamList-- Parameter: "keyword"
No permissions needed to get data.
- keyword - The keyword to return data from
Server --> Client
--MethodData-- Method: "thirdpartyresult" --ParamList-- Parameter: "keyword" Parameter: "data" Parameter: "lastmodifiedtime" Parameter: "lastmodifieduser"
- keyword - The keyword for this data
- data - The stored data
- lastmodifiedtime - A timestamp for when the data was last modified
- lastmodifieduser - The LLUUID of the user who last modified this data