Endpoints in AspNetCore.XmlRpc Explained

Raymond Tang Raymond Tang 763 0.27 index 10/9/2017

There are four endpoints exposed by the middleware: summary, RSD, manifest for blog capability and RPC call main endpoint.

Summary endpoint

Summary endpoint provides the information about what XML-RPC methods are implemented. One sample page looks like below:

https://api.kontext.tech/resource/60a15d24-24d9-5cd5-8f69-3675dc15d0ab

RSD Endpoint

RSD endpoint exposes the available APIs that can be invoked.

<?xml version="1.0" encoding="UTF-8"?> <rsd xmlns="http://schemas.microsoft.com/wlw/manifest/weblog" version="1.0"> <service> <engineName>AspNetCore.XmlRpc</engineName> <homePageLink>https://app.kontext.tech/Blog/MyBlog</homePageLink> <apis> <api blogID="MyBlog" apiLink=http://mywebsite.com/api/xmlrpc/endpoint/MyBlog preferred="true" name="MetaWeblog"/> </apis> </service> </rsd>

Manifest Endpoint

Manifest endpoint provides information about the available Blog capabilities, which will be utilized client tools.

<?xml version="1.0" encoding="UTF-8"?> <manifest xmlns="http://schemas.microsoft.com/wlw/manifest/weblog"> <options> <clientType>Metaweblog</clientType> <supportsExcerpt>Yes</supportsExcerpt> <supportsNewCategories>Yes</supportsNewCategories> <supportsNewCategoriesInline>Yes</supportsNewCategoriesInline> <supportsPostAsDraft>Yes</supportsPostAsDraft> <supportsFileUpload>Yes</supportsFileUpload> <supportsKeywords>Yes</supportsKeywords> <supportsSlug>Yes</supportsSlug> </options> </manifest>

Refer to the following link for the complete list of capabilities.

https://msdn.microsoft.com/en-us/library/bb463260.aspx

Main endpoint

Http post calls will be directed to this endpoint and it is the place that all the RPC requests are parsed, executed and responded.

xml-rpc

Join the Discussion

View or add your thoughts below

Comments