federator/php/api/v1.php
Sascha Nitsch 6ea9c2728f documentation updates
fixed  namespaces
add doygen generation, unhappy with phpDocumentor
2024-07-17 15:45:19 +02:00

29 lines
594 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2024 Sascha Nitsch (grumpydeveloper) https://contentnation.net/@grumpydevelop
* SPDX-License-Identifier: GPL-3.0-or-later
*
* @author Sascha Nitsch (grumpydeveloper)
**/
namespace Federator\Api;
/**
* API interface
*/
interface V1
{
/**
* run given url path
*
* @param array<string> $paths path array split by /
* @return bool true on success
*/
public function exec($paths);
/**
* get internal represenation as json string
* @return string json string or html
*/
public function toJson();
}