All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kaltura.client.utils.APIConstants Maven / Gradle / Ivy

Go to download

KalturaClient is a library of Java classes that can be used to interact with the Kaltura REST API. More information about the REST API can be found at http://corp.kaltura.com/Products/Kaltura-API Many of the Java classes in this library are auto-generated from a schema that defines the objects that are used to interect with the API. The current schema can be found at http://www.kaltura.com/api_v3/api_schema.php

There is a newer version: 19.3.0
Show newest version
package com.kaltura.client.utils;

/**
 * Created by tehilarozin on 28/07/2016.
 */
public class APIConstants {

    public static final String UrlApiVersion = "api_v3/";

    public static final String DefaultContentType = "application/json";

    //generated Request config properties:
    public static final String ConfigRequestPartnerId = "partnerId";
    public static final String ConfigRequestKs = "ks";


    public static final String HeaderAccept = "Accept";
    public static final String HeaderAcceptCharset = "Accept-Charset";
    public static final String HeaderAcceptEncoding = "Accept-Encoding";
    public static final String HeaderContentEncoding = "Content-Encoding";
    public static final String HeaderContentType = "Content-Type";
    public static final String HeaderEncodingGzip = "gzip";


    //response properties names:
    public static final String PropertyExecutionTime = "executionTime";
    public static final String PropertyResult = "result";
    public static final String ResultOk = "true";


    public static class Codes{
        public final static int EMPTY = -1;

        public final static int USER_NOT_FOUND = 2000;


    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy