rokka.io的客户

rokka-client-codegen的Python项目详细描述


rokka客户端代码gen

rokka.io的这个python包是由Swagger Codegen自动生成的。

有关一些简单的rokka特定示例,请参见examples目录。

我们欢迎使用一个薄包装程序包来简化一些事情。我们是happy to help

  • API版本:1.1.0
  • 软件包版本:0.2.0

要求。

python 2.7和3.4+

安装和使用

pip安装

如果python包托管在github上,则可以直接从github安装

pip install rokka_client_codegen

然后导入包:

importrokka_client_codegen

设置工具

通过Setuptools安装。

python setup.py install --user

(或sudo python setup.py install为所有用户安装软件包)

然后导入包:

importrokka_client_codegen

开始

请按照installation procedure操作,然后查看examples目录。

API端点文档

所有uri都与https://api.rokka.io

ClassMethodHTTP requestDescription
AdminApicreate_membershipPUT /organizations/{organization}/memberships/{userId}Add a rokka user into an organization.
AdminApicreate_membership_and_userPOST /organizations/{organization}/membershipsCreates a new user and api-key for the current user.
AdminApicreate_organizationPUT /organizations/{organization}Register a new Organization.
AdminApicreate_organization_optionsPUT /organizations/{organization}/optionsUpdate options for an organization.
AdminApicreate_userPOST /usersRegister new user.
AdminApidelete_membershipDELETE /organizations/{organization}/memberships/{userId}Remove a user from an organization.
AdminApiget_billingGET /billing/{organization}Returns monthly statistics for an organization grouped by its master and sub organisations.
AdminApiget_membershipGET /organizations/{organization}/memberships/{userId}Get information about organization membership of a rokka user.
AdminApiget_organizationGET /organizations/{organization}Get information about an organization.
AdminApiget_userGET /userGets info for current user, currently just the user_id.
AdminApilist_membershipGET /organizations/{organization}/membershipsGet information about organization memberships of an organization.
SourceimagesApicopy_multiple_source_imagesPOST /sourceimages/{organization}/copyCopy multiple source images to another org.
SourceimagesApicopy_source_imagePOST /sourceimages/{organization}/{hash}/copyCopy a single source image to another org.
SourceimagesApicreate_source_imagePOST /sourceimages/{organization}Upload new source images.
SourceimagesApicreate_source_image_meta_dynamic_with_namePUT /sourceimages/{organization}/{hash}/meta/dynamic/{metaName}Adds or updates a specific dynamic meta data for an image.
SourceimagesApicreate_source_image_meta_userPUT /sourceimages/{organization}/{hash}/meta/userReplace the image meta data with new information.
SourceimagesApicreate_source_image_meta_user_wth_namePUT /sourceimages/{organization}/{hash}/meta/user/{metaName}Adds or updates one user meta data field for an image.
SourceimagesApidelete_source_imageDELETE /sourceimages/{organization}/{hash}Delete a single source image.
SourceimagesApidelete_source_image_cacheDELETE /sourceimages/{organization}/{hash}/cacheDelete the caches of a single source image.
SourceimagesApidelete_source_image_meta_dynamic_with_nameDELETE /sourceimages/{organization}/{hash}/meta/dynamic/{metaName}Deletes a specific dynamic meta data.
SourceimagesApidelete_source_image_meta_userDELETE /sourceimages/{organization}/{hash}/meta/userDeletes all user meta data.
SourceimagesApidelete_source_image_meta_user_with_nameDELETE /sourceimages/{organization}/{hash}/meta/user/{metaName}Deletes user meta data for a specified field.
SourceimagesApidownload_source_imageGET /sourceimages/{organization}/{hash}/downloadDownload original source image binary.
SourceimagesApiget_source_imageGET /sourceimages/{organization}/{hash}Get information about a source image.
SourceimagesApiget_source_image_meta_userGET /sourceimages/{organization}/{hash}/meta/userGet all user meta data.
SourceimagesApiget_source_image_meta_user_with_nameGET /sourceimages/{organization}/{hash}/meta/user/{metaName}Get user meta for a specific field.
SourceimagesApilist_source_imagesGET /sourceimages/{organization}Get all images of an organization, with paging.
SourceimagesApilist_source_images_by_binary_hashGET /sourceimages/{organization}/binaryhash/{binaryHash}Get all images in this organization that match a binaryhash.
SourceimagesApipatch_source_image_meta_userPATCH /sourceimages/{organization}/{hash}/meta/userUpdate the specified meta data fields for an image.
SourceimagesApirestore_source_imagePOST /sourceimages/{organization}/{hash}/restoreRestore source image including previously set metadata.
StacksApicreate_stackPUT /stacks/{organization}/{name}Create a new stack.
StacksApidelete_stackDELETE /stacks/{organization}/{name}Delete a stack.
StacksApiget_stackGET /stacks/{organization}/{name}Get a single stack.
StacksApilist_operationsGET /operationsListing all available operations that can be used in stacks.
StacksApilist_stack_optionsGET /stackoptionsList all available options that can be set on stacks.
StacksApilist_stacksGET /stacks/{organization}Get all stacks of an organization.

型号文档

授权文件

apikeyauth

  • 类型:api键
  • api密钥参数名:api密钥
  • 位置:http头

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java在使用POI的非日期格式单元格中丢失日期准确性   java解析Android中自定义创建的MIDI文件   神经网络如何用Encog Java训练大型集合?   java哈希表插入顺序   java 1字符串需要提供2个输出   java GWT RequestFactory+ServiceLocator错误   TrayIcon自定义通知气球java   多客户端登录的多线程Java仿真   在Google App Engine(Java)中保存预存对象时出现eclipse问题   未检测到Javasocket已关闭   java强化安全问题“未发布的资源流”   运行gradlew build时出现java ListenerNotificationException   当堆大小空闲百分比高于50%时,java是否有助于增加JVM堆大小?   java无法使用Apache POI获取Excel工作表中的数据   java如何将字符串形式的数值数组转换为字节数组?