Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Latest commit

 

History

History
98 lines (66 loc) · 2.8 KB

SchemasApi.md

File metadata and controls

98 lines (66 loc) · 2.8 KB

SchemasApi

All URIs are relative to https://api.meltwater.com

Method HTTP request Description
getEditorialStreamingJsonSchema GET /v2/schemas/editorial_streaming.json Editorial Streaming JSON schema
getSocialStreamingJsonSchema GET /v2/schemas/social_streaming.json Social Streaming JSON schema

getEditorialStreamingJsonSchema

getEditorialStreamingJsonSchema(userKey)

Editorial Streaming JSON schema

Get the JSON schema describing the layout of Editorial Streaming documents.

Example

// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.SchemasApi;


SchemasApi apiInstance = new SchemasApi();
String userKey = "userKey_example"; // String | The `user_key` from [developer.meltwater.com](https://developer.meltwater.com/admin/applications/).
try {
    apiInstance.getEditorialStreamingJsonSchema(userKey);
} catch (ApiException e) {
    System.err.println("Exception when calling SchemasApi#getEditorialStreamingJsonSchema");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
userKey String The `user_key` from developer.meltwater.com.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getSocialStreamingJsonSchema

getSocialStreamingJsonSchema(userKey)

Social Streaming JSON schema

Get the JSON schema describing the layout of Social Streaming documents.

Example

// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.SchemasApi;


SchemasApi apiInstance = new SchemasApi();
String userKey = "userKey_example"; // String | The `user_key` from [developer.meltwater.com](https://developer.meltwater.com/admin/applications/).
try {
    apiInstance.getSocialStreamingJsonSchema(userKey);
} catch (ApiException e) {
    System.err.println("Exception when calling SchemasApi#getSocialStreamingJsonSchema");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
userKey String The `user_key` from developer.meltwater.com.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json