io.uiza:uiza-java

An API wrapper for Uiza.

License

License

Categories

Categories

Java Languages
GroupId

GroupId

io.uiza
ArtifactId

ArtifactId

uiza-java
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

io.uiza:uiza-java
An API wrapper for Uiza.
Project URL

Project URL

https://uiza.io
Source Code Management

Source Code Management

https://github.com/uizaio/api-wrapper-java/tree/master

Download uiza-java

How to add to project

<!-- https://jarcasting.com/artifacts/io.uiza/uiza-java/ -->
<dependency>
    <groupId>io.uiza</groupId>
    <artifactId>uiza-java</artifactId>
    <version>1.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.uiza/uiza-java/
implementation 'io.uiza:uiza-java:1.2.0'
// https://jarcasting.com/artifacts/io.uiza/uiza-java/
implementation ("io.uiza:uiza-java:1.2.0")
'io.uiza:uiza-java:jar:1.2.0'
<dependency org="io.uiza" name="uiza-java" rev="1.2.0">
  <artifact name="uiza-java" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.uiza', module='uiza-java', version='1.2.0')
)
libraryDependencies += "io.uiza" % "uiza-java" % "1.2.0"
[io.uiza/uiza-java "1.2.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.google.code.gson : gson jar 2.8.5

test (4)

Group / Artifact Type Version
junit : junit jar 4.12
org.powermock : powermock-module-junit4 jar 1.7.4
org.powermock : powermock-api-mockito2 jar 1.7.4
org.powermock : powermock-core jar 1.7.4

Project Modules

There are no modules declared in this project.

Uiza

Introduction

This is documents the public API for Uiza version 4.0. See documents for public API for Uiza version 3.0 here. Please use maven dependency version 1.1.1 to use API v3

The Uiza API is organized around RESTful standard. Our API has predictable, resource-oriented URLs, and uses HTTP response codes to indicate API errors. JSON is returned by all API responses, including errors, although our API libraries convert responses to appropriate language-specific objects.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

Requirements

Java 8 or later.

Maven users

Add this dependency to your project's POM:

<dependency>
  <groupId>io.uiza</groupId>
  <artifactId>uiza-java</artifactId>
  <version>1.2.0</version>
</dependency>

Documentation

Please see the API docs for the most up-to-date documentation.

Usage

The library needs to be configured with your account's authorization and appId. Set Uiza.authorization and Uiza.appId with your values:

Uiza.authorization = "<your-authorization>";
Uiza.appId = "<your-app-id>";

Entity

These below APIs used to take action with your media files (we called Entity).

You can see all available APIs for entity in ENTITY.md. See details here.

Category

Category has been splits into 4 types: folder, playlist, category and tag. These will make the management of entity more easier.

You can see all available APIs for category in CATEGORY.md. See details here.

Storage

You can add your storage (FTP, AWS S3) with UIZA. After synced, you can select your content easier from your storage to create entity.

You can see all available APIs for storage in STORAGE.md. See details here.

Live Streaming

These APIs used to create and manage live streaming event.

  • When a Live is not start : it's named as Event.
  • When have an Event , you can start it : it's named as Feed.

You can see all available APIs for live event in LIVE.md. See details here.

Callback

Callback used to retrieve an information for Uiza to your server, so you can have a trigger notice about an entity is upload completed and .

You can see all available APIs for callback in CALLBACK.md. See details here.

User Management

You can manage user with APIs user. Uiza have 2 levels of user:

Admin - This account will have the highest priority, can have permission to create & manage users.

User - This account level is under Admin level. It only manages APIs that relates to this account.

You can see all available APIs for user management in USER.md. See details here.

Errors Code

Uiza uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.). Codes in the 5xx range indicate an error with Uiza's servers.

See details here.

Contributing

Bug reports and pull requests are welcome on GitHub at Uiza-Java.

License

Available as open source under the terms of the MIT License.

io.uiza

Uiza

Versions

Version
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0