This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/ouroboros_api/info.php

37 lines
1,018 B
PHP
Raw Normal View History

2021-12-14 18:32:47 +00:00
<?php
declare(strict_types=1);
namespace Shimmie2;
class OuroborosAPIInfo extends ExtensionInfo
{
public const KEY = "ouroboros_api";
public string $key = self::KEY;
public string $name = "Ouroboros API";
public array $authors = ["Diftraku"=>"diftraku[at]derpy.me"];
public string $description = "Ouroboros-like API for Shimmie";
public ?string $version = "0.2";
public ?string $documentation =
"Currently working features
<ul>
<li>Post:
<ul>
<li>Index/List</li>
<li>Show</li>
<li>Create</li>
</ul>
</li>
<li>Tag:
<ul>
<li>Index/List</li>
</ul>
</li>
</ul>
Tested to work with CartonBox using \"Danbooru 1.18.x\" as site type.
Does not work with Andbooru or Danbooru Gallery for reasons beyond me, took me a while to figure rating \"u\" is bad...
Lots of Ouroboros/Danbooru specific values use their defaults (or what I gathered them to be default)
and tons of stuff not supported directly in Shimmie is botched to work";
}