Method:
mm.maps.linkShare
Enable link sharing for a map. Permission: 1 - view only, 2 - read and write
Authentication
Requires signing: | Yes |
Requires authentication: | Yes |
Requires access: | write |
Parameters
-
map_id
(required) -
permission
(required)
Sample Response
<rsp stat="ok"><share_token>8k7EWGx8Xi</share_token><permission>1</permission></rsp>
Error Codes
-
20
Object not found - Object not found
-
30
Subsharing not activated for map - Map can only be shared or unshared by owner, no subshare is activated
-
48
Invalid permission - The permission has to be 1 or 2
-
95
Not premium - User must be premium to use this function.
-
96
Invalid signature - The passed signature was invalid.
-
97
Missing signature - The call required signing but no signature was sent.
-
98
Login failed - The login details or auth token passed were invalid.
-
100
Invalid API Key - The API key passed was not valid or has expired.
-
110
Feature restricted - This feature has been restricted by the team administrator.
-
112
Method not found - The requested method was not found.
Test Method
No API key found.
If you already have an API key you might just have to Sign In.