tractordev / integra

2 stars 0 forks source link

docker-hub #3

Open progrium opened 3 days ago

progrium commented 3 days ago

https://github.com/APIs-guru/openapi-directory/blob/main/APIs/docker.com/hub/beta/openapi.yaml

lritter79 commented 16 hours ago

https://docs.docker.com/reference/api/hub/latest/

lritter79 commented 16 hours ago

Some info fields missing:

Title:         Docker HUB API
Provider:      
Version:       beta
Data Scope:    mixed
Categories:    
Security:      
Base URL:      https://hub.docker.com/
Docs URL:      
lritter79 commented 16 hours ago

Error on running ./local/integra describe --resources docker-hub

2024/11/21 15:06:32 openapi.go:328: !! unknown operation for 'parameters /v2/access-tokens/{uuid}'
2024/11/21 15:06:32 openapi.go:328: !! unknown operation for 'head /v2/namespaces/{namespace}/repositories/{repository}/tags'
2024/11/21 15:06:32 openapi.go:328: !! unknown operation for 'parameters /v2/namespaces/{namespace}/repositories/{repository}/tags'
2024/11/21 15:06:32 openapi.go:328: !! unknown operation for 'head /v2/namespaces/{namespace}/repositories/{repository}/tags/{tag}'
2024/11/21 15:06:32 openapi.go:328: !! unknown operation for 'parameters /v2/namespaces/{namespace}/repositories/{repository}/tags/{tag}'
2024/11/21 15:06:32 openapi.go:328: !! unknown operation for 'parameters /v2/orgs/{name}/settings'
2024/11/21 15:06:32 openapi.go:328: !! unknown operation for 'parameters /v2/scim/2.0/Users/{id}'
lritter79 commented 15 hours ago

"."s in Scim section names:


SCIM
  scim2.0Resourcetype
  scim2.0Schema
  scim2.0Serviceproviderconfig
  scim2.0User
lritter79 commented 15 hours ago

for ./local/integra describe docker-hub.namespaceRepositoryTag.list output should be an array of objects, instead it returned to following output below

=== OPERATION OUTPUT
object:
  count       integer    total number of results available across all pages
  next        string     link to next page of results if any
  previous    string     link to previous page of results  if any
  results     array      
lritter79 commented 15 hours ago

Auth works with a bearer token and there are personal access token, see here and here to create one