fix api docs
This commit is contained in:
parent
bbb9832de6
commit
a8866ca3b3
2 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ def findMetadata(data):
|
||||||
key: value
|
key: value
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
key is one of the supported identifiers: isbn10, isbn13...
|
key is one of the supported identifiers: isbn, olid...
|
||||||
'''
|
'''
|
||||||
response = {}
|
response = {}
|
||||||
logger.debug('findMetadata %s', data)
|
logger.debug('findMetadata %s', data)
|
||||||
|
@ -42,7 +42,7 @@ def getMetadata(data):
|
||||||
key: value
|
key: value
|
||||||
includeEdits: boolean
|
includeEdits: boolean
|
||||||
}
|
}
|
||||||
key can be one of the supported identifiers: isbn10, isbn13, oclc, olid,...
|
key can be one of the supported identifiers: isbn, oclc, olid,...
|
||||||
'''
|
'''
|
||||||
logger.debug('getMetadata %s', data)
|
logger.debug('getMetadata %s', data)
|
||||||
if 'includeEdits' in data:
|
if 'includeEdits' in data:
|
||||||
|
|
|
@ -93,7 +93,7 @@ def run():
|
||||||
else:
|
else:
|
||||||
host = settings.server['address']
|
host = settings.server['address']
|
||||||
url = 'http://%s:%s/' % (host, settings.server['port'])
|
url = 'http://%s:%s/' % (host, settings.server['port'])
|
||||||
print('open browser at %s', url)
|
print('open browser at %s' % url)
|
||||||
try:
|
try:
|
||||||
state.main.start()
|
state.main.start()
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue