Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API-193] - add endpoints api keys #25

Merged
merged 17 commits into from
May 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[API-193] - fields were arranged in alphabetical order
  • Loading branch information
MaritzaGarc committed May 22, 2023
commit 398984ca98649978f1b9762567c1cb95c7df5b61
60 changes: 30 additions & 30 deletions _build/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10662,30 +10662,30 @@ components:
description: Indicates if the api key is active
example: true
type: boolean
created_at:
description: Unix timestamp in seconds with the creation date of the api
key
example: 1684167881
format: int64
type: integer
description:
description: Detail of the use that will be given to the api key
example: online store
type: string
livemode:
description: Indicates if the api key is in live mode
example: false
type: boolean
prefix:
description: The first few characters of the authentication_token
type: integer
id:
description: Unique identifier of the api key
example: 64625cc9f3e02c00163f5e4d
type: string
livemode:
description: Indicates if the api key is in live mode
example: false
type: boolean
object:
description: Object name, value is api_key
example: api_key
type: string
created_at:
description: Unix timestamp in seconds with the creation date of the api
key
example: 1684167881
format: int64
prefix:
description: The first few characters of the authentication_token
type: integer
role:
description: Indicates if the api key is public or private
Expand All @@ -10700,37 +10700,37 @@ components:
description: Indicates if the api key is active
example: true
type: boolean
authentication_token:
description: It is occupied as a user when authenticated with basic authentication,
with a blank password. This value will only appear once, in the request
to create a new key
example: key_rpHzxufNgjFCdprEEFZRTKi
type: string
created_at:
description: Unix timestamp in seconds with the creation date of the api
key
example: 1684167881
format: int64
type: integer
description:
description: Detail of the use that will be given to the api key
example: online store
type: string
livemode:
description: Indicates if the api key is in live mode
example: false
type: boolean
prefix:
description: The first few characters of the authentication_token
type: integer
id:
description: Unique identifier of the api key
example: 64625cc9f3e02c00163f5e4d
type: string
livemode:
description: Indicates if the api key is in live mode
example: false
type: boolean
object:
description: Object name, value is api_key
example: api_key
type: string
created_at:
description: Unix timestamp in seconds with the creation date of the api
key
example: 1684167881
format: int64
prefix:
description: The first few characters of the authentication_token
type: integer
authentication_token:
description: It is occupied as a user when authenticated with basic authentication,
with a blank password. This value will only appear once, in the request
to create a new key
example: key_rpHzxufNgjFCdprEEFZRTKi
type: string
role:
description: Indicates if the api key is public or private
example: private
Expand Down
32 changes: 16 additions & 16 deletions schemas/api_keys/api-key_create_response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,35 @@ properties:
type: boolean
example: true
description: Indicates if the api key is active
authentication_token:
type: string
example: key_rpHzxufNgjFCdprEEFZRTKi
description: It is occupied as a user when authenticated with basic authentication, with a blank password. This value will only appear once, in the request to create a new key
created_at:
type: integer
example: 1684167881
format: int64
description: Unix timestamp in seconds with the creation date of the api key
description:
type: string
example: online store
description: Detail of the use that will be given to the api key
livemode:
type: boolean
example: false
description: Indicates if the api key is in live mode
prefix:
type: integer
example: key_rp
description: The first few characters of the authentication_token
id:
MaritzaGarc marked this conversation as resolved.
Show resolved Hide resolved
type: string
example: "64625cc9f3e02c00163f5e4d"
description: Unique identifier of the api key
livemode:
type: boolean
example: false
description: Indicates if the api key is in live mode
object:
type: string
example: api_key
description: Object name, value is api_key
created_at:
prefix:
MaritzaGarc marked this conversation as resolved.
Show resolved Hide resolved
type: integer
example: 1684167881
format: int64
description: Unix timestamp in seconds with the creation date of the api key
authentication_token:
type: string
example: key_rpHzxufNgjFCdprEEFZRTKi
description: It is occupied as a user when authenticated with basic authentication, with a blank password. This value will only appear once, in the request to create a new key
example: key_rp
description: The first few characters of the authentication_token
role:
MaritzaGarc marked this conversation as resolved.
Show resolved Hide resolved
type: string
example: private
Expand Down
32 changes: 16 additions & 16 deletions schemas/api_keys/api-key_response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,34 @@ type: object
properties:
active:
type: boolean
example: true
description: Indicates if the api key is active
example: true
created_at:
type: integer
description: Unix timestamp in seconds with the creation date of the api key
example: 1684167881
format: int64
description:
type: string
example: online store
description: Detail of the use that will be given to the api key
livemode:
type: boolean
example: false
description: Indicates if the api key is in live mode
prefix:
type: integer
example: key_rp
description: The first few characters of the authentication_token
example: online store
id:
type: string
example: "64625cc9f3e02c00163f5e4d"
description: Unique identifier of the api key
livemode:
type: boolean
description: Indicates if the api key is in live mode
example: false
object:
type: string
example: api_key
description: Object name, value is api_key
created_at:
example: api_key
prefix:
type: integer
MaritzaGarc marked this conversation as resolved.
Show resolved Hide resolved
example: 1684167881
format: int64
description: Unix timestamp in seconds with the creation date of the api key
description: The first few characters of the authentication_token
example: key_rp
role:
type: string
example: private
description: Indicates if the api key is public or private
MaritzaGarc marked this conversation as resolved.
Show resolved Hide resolved
example: private