Rename audits back to logs
This commit is contained in:
parent
24204bce54
commit
725897c896
3 changed files with 5 additions and 6 deletions
|
@ -353,15 +353,14 @@ App::get('/v1/health/queue/webhooks')
|
|||
$response->dynamic(new Document([ 'size' => Resque::size(Event::WEBHOOK_QUEUE_NAME) ]), Response::MODEL_HEALTH_QUEUE);
|
||||
}, ['response']);
|
||||
|
||||
App::get('/v1/health/queue/audits')
|
||||
->alias('/v1/health/queue/logs')
|
||||
->desc('Get Audits Queue')
|
||||
App::get('/v1/health/queue/logs')
|
||||
->desc('Get Logs Queue')
|
||||
->groups(['api', 'health'])
|
||||
->label('scope', 'health.read')
|
||||
->label('sdk.auth', [APP_AUTH_TYPE_KEY])
|
||||
->label('sdk.namespace', 'health')
|
||||
->label('sdk.method', 'getQueueAudits')
|
||||
->label('sdk.description', '/docs/references/health/get-queue-audits.md')
|
||||
->label('sdk.method', 'getQueueLogs')
|
||||
->label('sdk.description', '/docs/references/health/get-queue-logs.md')
|
||||
->label('sdk.response.code', Response::STATUS_CODE_OK)
|
||||
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
|
||||
->label('sdk.response.model', Response::MODEL_HEALTH_QUEUE)
|
||||
|
|
|
@ -184,7 +184,7 @@ class HealthCustomServerTest extends Scope
|
|||
$this->assertLessThan(100, $response['body']['size']);
|
||||
|
||||
|
||||
$response = $this->client->call(Client::METHOD_GET, '/health/queue/audits', array_merge([
|
||||
$response = $this->client->call(Client::METHOD_GET, '/health/queue/logs', array_merge([
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
], $this->getHeaders()), []);
|
||||
|
|
Loading…
Reference in a new issue