Posts
Known as 'Updates' in the API.
get
https://api.tiny.plus
/v2/updates/{{id}}
Get a Post by ID

Example Usage

jQuery
PHP
1
var settings = {
2
"url": "https://api.tiny.plus/v2/updates/{{id}}",
3
"method": "GET",
4
"headers": {
5
"Authorization": "{{user_access_token}}"
6
}
7
};
8
9
$.ajax(settings).done(function (response) {
10
console.log(response);
11
});
Copied!
1
<?php
2
3
$curl = curl_init();
4
5
curl_setopt_array($curl, array(
6
CURLOPT_URL => "https://api.tiny.plus/v2/updates/{{id}}",
7
CURLOPT_RETURNTRANSFER => true,
8
CURLOPT_ENCODING => "",
9
CURLOPT_MAXREDIRS => 10,
10
CURLOPT_TIMEOUT => 0,
11
CURLOPT_FOLLOWLOCATION => false,
12
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
13
CURLOPT_CUSTOMREQUEST => "GET",
14
CURLOPT_HTTPHEADER => array(
15
"Authorization: {{user_access_token}}"
16
),
17
));
18
19
$response = curl_exec($curl);
20
$err = curl_error($curl);
21
22
curl_close($curl);
23
24
if ($err) {
25
echo "cURL Error #:" . $err;
26
} else {
27
echo $response;
28
} ?>
Copied!
get
https://api.tiny.plus
/v2/updates
List Posts

Example Usage

jQuery
1
var settings = {
2
"url": "https://api.tiny.plus/v2/updates?me&return_format=array",
3
"method": "GET",
4
"headers": {
5
"Authorization": "{{user_access_token}}"
6
}
7
};
8
9
$.ajax(settings).done(function (response) {
10
console.log(response);
11
});
Copied!
post
https://api.tiny.plus
/v2/updates
Create a Post
delete
https://api.tiny.plus
/v2/updates/{{id}}
Delete a Post

Posts Field Reference

Field
Type
Details
Permission
id
Number
Unique record identifier.
Read-only
name
Auto-generated String
This is an auto-generated shortening of the start of the description field, with all non-printable characters removed.
Full
description
String
REQUIRED
The body of the post.
Full
description_HTML
String
The description field but with certain HTML elements intact, such as embedded videos.
Read-only
created_date
String (YYYY-MM-DD hh:mm:ss)
Date record was first created.
Read-only
modified_date
String (YYYY-MM-DD hh:mm:ss)
Date record was last modified.
Read-only
created_user
Number
ID of user who made the record.
Read-only
modified_user
Number
ID of user who last edited the record.
Read-only
assigned_user
Number
ID of assigned user.
Full
record_url
String
The fully qualified URI of the record.
Read-only
created_user_record
Object
An object containing details about the created_user.
Read-only
attached
Object
An array of objects containing all the related records attached to this post.
Read-only
images
Object
An array of objects containing details of any images associated with this post.
Read-only
social
Object
Refer below.
Read-only
broadcast
Boolean
Whether to show this post in the main tiny+ news feed. Either true or false. Default is true.
Full
Last modified 1yr ago