AlgoSeek AWSAccount API
The AWSAccount API from AlgoSeek — 3 operation(s) for awsaccount.
The AWSAccount API from AlgoSeek — 3 operation(s) for awsaccount.
openapi: 3.0.2
info:
title: metadata-api AWSAccount API
version: '1.2'
tags:
- name: AWSAccount
paths:
/api/v1/internal/aws_account/:
get:
tags:
- AWSAccount
summary: List AWS Accounts
description: Get a list of all AWS Accounts
operationId: get_aws_accounts_internal_api_v1_internal_aws_account__get
parameters:
- required: false
schema:
title: Is Active
type: boolean
name: is_active
in: query
- required: false
schema:
title: Is Public
type: boolean
name: is_public
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
title: Response Get Aws Accounts Internal Api V1 Internal Aws Account Get
type: array
items:
$ref: '#/components/schemas/EnumOutAdmin'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
post:
tags:
- AWSAccount
summary: Add AWS Account
description: Add a new aws account
operationId: create_aws_account_api_v1_internal_aws_account__post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EnumCreate'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/EnumOutAdmin'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/internal/aws_account/{aws_account_id}/:
get:
tags:
- AWSAccount
summary: Get AWS Account
description: Get aws account details by id
operationId: get_aws_account_internal_api_v1_internal_aws_account__aws_account_id___get
parameters:
- required: true
schema:
title: Aws Account Id
type: integer
name: aws_account_id
in: path
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/EnumOutAdmin'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
put:
tags:
- AWSAccount
summary: Update AWS Account
description: Update AWS Account details by id
operationId: update_aws_account_api_v1_internal_aws_account__aws_account_id___put
parameters:
- required: true
schema:
title: Aws Account Id
type: integer
name: aws_account_id
in: path
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EnumUpdate'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/EnumOutAdmin'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
delete:
tags:
- AWSAccount
summary: Delete AWS Account
description: Delete an AWS Account record
operationId: delete_aws_account_api_v1_internal_aws_account__aws_account_id___delete
parameters:
- required: true
schema:
title: Aws Account Id
type: integer
name: aws_account_id
in: path
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/EnumOutAdmin'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/internal/aws_account/text_id/{text_id}/:
get:
tags:
- AWSAccount
summary: Get AWS Account by text id
description: Get aws account details by text_id
operationId: get_aws_accounts_by_text_id_internal_api_v1_internal_aws_account_text_id__text_id___get
parameters:
- required: true
schema:
title: Text Id
type: string
name: text_id
in: path
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/EnumOutAdmin'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
components:
schemas:
EnumUpdate:
title: EnumUpdate
type: object
properties:
text_id:
title: Text Id
type: string
display_name:
title: Display Name
type: string
full_name:
title: Full Name
type: string
description:
title: Description
type: string
internal_name:
title: Internal Name
type: string
is_active:
title: Is Active
type: boolean
is_public:
title: Is Public
type: boolean
notes:
title: Notes
type: string
EnumCreate:
title: EnumCreate
required:
- text_id
- internal_name
type: object
properties:
text_id:
title: Text Id
type: string
display_name:
title: Display Name
type: string
full_name:
title: Full Name
type: string
description:
title: Description
type: string
internal_name:
title: Internal Name
type: string
is_active:
title: Is Active
type: boolean
is_public:
title: Is Public
type: boolean
notes:
title: Notes
type: string
ValidationError:
title: ValidationError
required:
- loc
- msg
- type
type: object
properties:
loc:
title: Location
type: array
items:
anyOf:
- type: string
- type: integer
msg:
title: Message
type: string
type:
title: Error Type
type: string
HTTPValidationError:
title: HTTPValidationError
type: object
properties:
detail:
title: Detail
type: array
items:
$ref: '#/components/schemas/ValidationError'
EnumOutAdmin:
title: EnumOutAdmin
required:
- text_id
- internal_name
- is_active
- is_public
- id
- created
- modified
type: object
properties:
text_id:
title: Text Id
type: string
display_name:
title: Display Name
type: string
full_name:
title: Full Name
type: string
description:
title: Description
type: string
internal_name:
title: Internal Name
type: string
is_active:
title: Is Active
type: boolean
is_public:
title: Is Public
type: boolean
notes:
title: Notes
type: string
id:
title: Id
type: integer
created:
title: Created
type: string
format: date-time
modified:
title: Modified
type: string
format: date-time
securitySchemes:
HTTPBearer:
type: http
scheme: bearer