uploadMedia endpoint

master
Bob Mottram 2019-07-03 21:52:25 +01:00
parent 8462c65e8f
commit 086ddbb004
1 changed files with 5 additions and 1 deletions

View File

@ -51,7 +51,11 @@ def createPerson(baseDir: str,nickname: str,domain: str,port: int, \
'toot': 'http://joinmastodon.org/ns#',
'value': 'schema:value'}],
'attachment': [],
'endpoints': {'sharedInbox': httpPrefix+'://'+domain+'/inbox'},
'endpoints': {
'id': httpPrefix+'://'+domain+'/users/'+nickname+'/endpoints'
'sharedInbox': httpPrefix+'://'+domain+'/inbox',
'uploadMedia': httpPrefix+'://'+domain+'/users/'+nickname+'/endpoints/uploadMedia'
},
'featured': httpPrefix+'://'+domain+'/users/'+nickname+'/collections/featured',
'followers': httpPrefix+'://'+domain+'/users/'+nickname+'/followers',
'following': httpPrefix+'://'+domain+'/users/'+nickname+'/following',