Get the shared task feed
curl --request GET \
--url https://tasksocial-production.up.railway.app/api/v1/tasks/feed \
--cookie tokenName=import requests
url = "https://tasksocial-production.up.railway.app/api/v1/tasks/feed"
headers = {"cookie": "tokenName="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'tokenName='}};
fetch('https://tasksocial-production.up.railway.app/api/v1/tasks/feed', 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://tasksocial-production.up.railway.app/api/v1/tasks/feed",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "tokenName=",
]);
$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://tasksocial-production.up.railway.app/api/v1/tasks/feed"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "tokenName=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://tasksocial-production.up.railway.app/api/v1/tasks/feed")
.header("cookie", "tokenName=")
.asString();require 'uri'
require 'net/http'
url = URI("https://tasksocial-production.up.railway.app/api/v1/tasks/feed")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'tokenName='
response = http.request(request)
puts response.read_body{
"Feed": [
{
"title": "<string>",
"description": "<string>",
"author": "<string>",
"status": "pending",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}{
"message": "<string>"
}{
"message": "<string>"
}Tasks
Get the shared task feed
Returns tasks from the shared feed. Authentication is required for this endpoint.
GET
/
api
/
v1
/
tasks
/
feed
Get the shared task feed
curl --request GET \
--url https://tasksocial-production.up.railway.app/api/v1/tasks/feed \
--cookie tokenName=import requests
url = "https://tasksocial-production.up.railway.app/api/v1/tasks/feed"
headers = {"cookie": "tokenName="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'tokenName='}};
fetch('https://tasksocial-production.up.railway.app/api/v1/tasks/feed', 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://tasksocial-production.up.railway.app/api/v1/tasks/feed",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "tokenName=",
]);
$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://tasksocial-production.up.railway.app/api/v1/tasks/feed"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "tokenName=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://tasksocial-production.up.railway.app/api/v1/tasks/feed")
.header("cookie", "tokenName=")
.asString();require 'uri'
require 'net/http'
url = URI("https://tasksocial-production.up.railway.app/api/v1/tasks/feed")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'tokenName='
response = http.request(request)
puts response.read_body{
"Feed": [
{
"title": "<string>",
"description": "<string>",
"author": "<string>",
"status": "pending",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}{
"message": "<string>"
}{
"message": "<string>"
}Authorizations
JWT authentication cookie. The server sets this cookie after a successful login. You do not need to generate or provide an API key manually. Use the login endpoint first, then the browser or HTTP client sends this cookie with protected requests.
Response
Feed returned successfully.
Show child attributes
Show child attributes