Skip to content

Commit

Permalink
Update swagger API spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonnav committed Dec 14, 2023
1 parent 65893cb commit 5d014c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
1 change: 0 additions & 1 deletion estela-api/api/views/job_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from api import errors
from api.exceptions import DataBaseError
from api.mixins import BaseViewSet
from api.serializers.job import DeleteJobDataSerializer
from config.job_manager import spiderdata_db_client
from core.models import SpiderJob
from core.tasks import get_chain_to_process_usage_data
Expand Down
19 changes: 7 additions & 12 deletions estela-api/docs/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1205,9 +1205,9 @@ paths:
type: string
responses:
'200':
description: ''
schema:
$ref: '#/definitions/DeleteJobData'
description: Deletion successful
'404':
description: Could not delete data
tags:
- api
parameters:
Expand Down Expand Up @@ -2647,15 +2647,10 @@ definitions:
title: Data expiry days
description: Job data expiry days.
type: integer
DeleteJobData:
required:
- count
type: object
properties:
count:
title: Count
description: Deleted items count.
type: integer
proxy_usage_data:
title: Proxy usage data
description: Proxy Usage data.
type: string
UsageRecord:
required:
- processing_time
Expand Down

0 comments on commit 5d014c1

Please sign in to comment.