List recent AutoPhish activity
curl --request GET \
--url https://api.cimento.app/v1/autophish/activity \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cimento.app/v1/autophish/activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.cimento.app/v1/autophish/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cimento.app/v1/autophish/activity",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cimento.app/v1/autophish/activity"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cimento.app/v1/autophish/activity")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cimento.app/v1/autophish/activity")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"events": [
{
"eventId": "<string>",
"occurredAt": "<string>",
"person": {
"userId": "<string>",
"name": "<string>",
"teamName": "<string>"
},
"sendId": "<string>",
"type": "<string>"
}
]
}{
"error": {
"code": "invalid_request",
"message": "..."
}
}{
"error": {
"code": "invalid_token",
"message": "..."
}
}{
"error": {
"code": "insufficient_scope",
"message": "..."
}
}{
"error": {
"code": "not_found",
"message": "..."
}
}{
"error": {
"code": "rate_limited",
"message": "..."
}
}{
"error": {
"code": "unavailable",
"message": "..."
}
}autophish
List recent AutoPhish activity
What people have been doing with their simulations lately, newest first: each event is one thing one person did to one simulation, with its time and its kind. It covers simulations sent in the last 90 days. Takes limit alone, 30 unless given and 100 at most. It does not page: there is no offset, no cursor and no total.
List recent AutoPhish activity
curl --request GET \
--url https://api.cimento.app/v1/autophish/activity \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cimento.app/v1/autophish/activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.cimento.app/v1/autophish/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cimento.app/v1/autophish/activity",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cimento.app/v1/autophish/activity"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cimento.app/v1/autophish/activity")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cimento.app/v1/autophish/activity")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"events": [
{
"eventId": "<string>",
"occurredAt": "<string>",
"person": {
"userId": "<string>",
"name": "<string>",
"teamName": "<string>"
},
"sendId": "<string>",
"type": "<string>"
}
]
}{
"error": {
"code": "invalid_request",
"message": "..."
}
}{
"error": {
"code": "invalid_token",
"message": "..."
}
}{
"error": {
"code": "insufficient_scope",
"message": "..."
}
}{
"error": {
"code": "not_found",
"message": "..."
}
}{
"error": {
"code": "rate_limited",
"message": "..."
}
}{
"error": {
"code": "unavailable",
"message": "..."
}
}