有没有为Windows Azure图表任何API架构 [英] Is there any API schema for Windows azure Graph

查看:154
本文介绍了有没有为Windows Azure图表任何API架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有为Windows Azure图形API文档或模式等的销售力的API(的 http://www.salesforce.com/us/developer/docs/api_rest/api_rest.pdf ),现在服务(的 http://wiki.servicenow.com/index.php?title=JSON_Web_Service#Data_Retrieval_API )。我在网上搜索,但没有找到任何完整的文档。

Is there any api for windows azure graph API documentation or schema like sales force (http://www.salesforce.com/us/developer/docs/api_rest/api_rest.pdf) and service now(http://wiki.servicenow.com/index.php?title=JSON_Web_Service#Data_Retrieval_API). I searched online but couldn't find any complete documentation.

推荐答案

是的,Windows Azure的图形API是基于RESTful接口,这意味着你可以从其中可以实现基于REST调用和Java绝对可以胜任这项工作的lanugage调用它们。此外RESTful请求是标准的HTTP方法,因此请求/响应可以用JSON有效载荷封装。最关键详情如下:

Yes, Windows Azure Graph API are based on RESTful Interface which means you can call them from any lanugage which can implement RESTful call and Java can definitely do that job. Also RESTful Requests are standards HTTP methods so request/responses can be packaged with JSON payload. Most of the key details are as below:

RESTful接口到Windows Azure Active Directory的

RESTful Interface to Windows Azure Active Directory


  • 用的OData V3兼容

  • 使用OAuth 2.0验证和应用程序和用户基于角色的分配,对于授权

请求使用标准的HTTP方法

Requests use standard HTTP methods


  • GET,POST,PATCH,DELETE来创建,读取,更新和删除目录对象。

  • 响应支持XML和JSON和标准HTTP状态codeS

所以,你真正需要的是做的REST风格的功能,JAVA实现如下面的示例中所述:

So what you really need is do JAVA implementation of RESTful functions as described in following sample:

  • Java Sample App for Windows Azure Active Directory Graph API (REST API)

替代你可以使用 BURP工具,通过添加参数,使REST调用。这确实有助于无需编写code单行执行REST调用。使用具有天青服务管理的API BURP工具的一个例子进行说明<一href=\"http://blogs.msdn.com/b/avkashchauhan/archive/2012/05/16/windows-azure-management-using-burp-java-based-gui-tool-and-rest-api.aspx\"相对=nofollow>这里。

Alternative you can use BURP tool to make REST call by adding parameters. This does help to perform REST call without writing a single line of code. An example of using BURP tool with Azure Service Management API is described here.

这篇关于有没有为Windows Azure图表任何API架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆