Imgur

<< Click to Display Table of Contents >>

Navigation:  Connectors >

Imgur

Overview

The Imgur connector for Bizagi is available for download at Bizagi Connectors Xchange.

Through this connector, you will be able to connect your Bizagi processes to www.imgur.com in order to use your account.

For more information about this connector's capabilities, visit Bizagi Connectors Xchange.

 

Before you start

In order to test and use this connector, you will need:

1.Bizagi Studio previously installed.

2.This connector previously installed, via the Connectors Xchange as described at https://help.bizagi.com/platform/en/index.html?Connectors_Xchange.htm, or through a manual installation as described at https://help.bizagi.com/platform/en/index.html?connectors_setup.htm

3.An account at www.imgur.com and a registered application set to use authorization type: OAuth2 Authorization without a callback URL.

Registering the application is done directly at https://api.imgur.com/oauth2/addclient.

 

imgur_api0

 

Configuring the connector

In order to configure the connector (i.e its authentication parameters), follow the steps presented at the Configuration chapter in https://help.bizagi.com/platform/en/index.html?connectors_setup.htm

 

imgur01

 

For this configuration, consider the following authentication parameters:

Authentication method: custom.

Email: The e-mail as used by your account to authenticate to www.imgur.com.

Password: The password for the account's e-mail.

ClientId: The Client_id as provided when registering the application (you may disregard the client_secret).

 

imgur_api1

 

Using the connector

This connector features Imgur's most used service: Posting an image from your account.

To learn overall how/where to configure the use of a connector, refer to https://help.bizagi.com/platform/en/index.html?Connectors_Studio.htm.  

When using the connector, make sure you consider the following details for the available methods.

 

Upload from URL

This action uploads an image to the preset account and into a post, based from an URL location having that image.

 

imgur04

 

To configure its inputs, consider:

URL: The location of the image which you will upload.

 

imgur03

 

To configure its outputs when getting started and testing, you may map the link of successful post or its potential error and success message.

 

imgur02

 

 

For more information about this method's use, refer to Imgur's official documentation at https://api.imgur.com/endpoints/image.

 

Upload image from file

This action uploads an image to the preset account and into a post, from a file attribute in Bizagi having the image attached.

 

imgur04b

 

To configure its inputs, consider:

fileContents: Map the data property from a Bizagi file attribute so that an array of bytes (byte[]) is sent with the actual content of the file to save.

 

imgur03b

 

To configure its outputs when getting started and testing, you may map the link of successful post or its potential error and success message.

 

imgur02b

 

 

For more information about this method's use, refer to Imgur's official documentation at https://api.imgur.com/endpoints/image.

 


Last Updated 10/27/2022 11:04:38 AM