Git Product home page Git Product logo

gettyimages-api's Introduction

gettyimages-api's People

Contributors

chrissimmons avatar mapitman avatar ssterli2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gettyimages-api's Issues

OpenAPI Improvements

Hello! I was checking out your OpenAPI definition to see if we could use it as a demo for https://stoplight.io/open-source/elements/ but there's a few quirks and missing bits that would make it look a lot better in various documentation tools.

$ spectral lint https://api.apis.guru/v2/specs/gettyimages.com/3/openapi.yaml
OpenAPI 3.x detected

https://api.apis.guru/v2/specs/gettyimages.com/3/openapi.yaml
   1:1    warning  oas3-api-servers               OpenAPI `servers` must be present and non-empty array.
   1:1    warning  openapi-tags                   OpenAPI object should have non-empty `tags` array.
   2:6    warning  info-contact                   Info object should contain `contact` object.
   2:6    warning  info-description               OpenAPI object info `description` must be present and non-empty string.
   20:9   warning  operation-description          Operation `description` must be present and non-empty string.
   20:9   warning  operation-operationId          Operation should have an `operationId`.
  45:11   warning  operation-tag-defined          Operation tags should be defined in global tags.
   47:9   warning  operation-description          Operation `description` must be present and non-empty string.
   47:9   warning  operation-operationId          Operation should have an `operationId`.
  68:11   warning  operation-tag-defined          Operation tags should be defined in global tags.
   70:9   warning  operation-description          Operation `description` must be present and non-empty string.
   70:9   warning  operation-operationId          Operation should have an `operationId`.
  121:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  123:9   warning  operation-description          Operation `description` must be present and non-empty string.
  123:9   warning  operation-operationId          Operation should have an `operationId`.
  174:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  176:9   warning  operation-operationId          Operation should have an `operationId`.
  224:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  226:12  warning  operation-operationId          Operation should have an `operationId`.
  255:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  257:9   warning  operation-operationId          Operation should have an `operationId`.
  284:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  286:10  warning  operation-description          Operation `description` must be present and non-empty string.
  286:10  warning  operation-operationId          Operation should have an `operationId`.
  334:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  336:9   warning  operation-description          Operation `description` must be present and non-empty string.
  336:9   warning  operation-operationId          Operation should have an `operationId`.
  377:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  378:10  warning  operation-description          Operation `description` must be present and non-empty string.
  378:10  warning  operation-operationId          Operation should have an `operationId`.
  398:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  400:12  warning  operation-description          Operation `description` must be present and non-empty string.
  400:12  warning  operation-operationId          Operation should have an `operationId`.
  425:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  426:9   warning  operation-description          Operation `description` must be present and non-empty string.
  426:9   warning  operation-operationId          Operation should have an `operationId`.
  451:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  452:9   warning  operation-description          Operation `description` must be present and non-empty string.
  452:9   warning  operation-operationId          Operation should have an `operationId`.
  483:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  485:12  warning  operation-description          Operation `description` must be present and non-empty string.
  485:12  warning  operation-operationId          Operation should have an `operationId`.
  517:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  518:9   warning  operation-description          Operation `description` must be present and non-empty string.
  518:9   warning  operation-operationId          Operation should have an `operationId`.
  555:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  557:12  warning  operation-description          Operation `description` must be present and non-empty string.
  557:12  warning  operation-operationId          Operation should have an `operationId`.
  588:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  589:9   warning  operation-description          Operation `description` must be present and non-empty string.
  589:9   warning  operation-operationId          Operation should have an `operationId`.
  620:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  622:9   warning  operation-description          Operation `description` must be present and non-empty string.
  622:9   warning  operation-operationId          Operation should have an `operationId`.
  647:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  648:10  warning  operation-description          Operation `description` must be present and non-empty string.
  648:10  warning  operation-operationId          Operation should have an `operationId`.
  681:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  683:12  warning  operation-description          Operation `description` must be present and non-empty string.
  683:12  warning  operation-operationId          Operation should have an `operationId`.
  716:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  718:9   warning  operation-operationId          Operation should have an `operationId`.
  741:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  743:9   warning  operation-operationId          Operation should have an `operationId`.
  766:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  768:9   warning  operation-operationId          Operation should have an `operationId`.
  790:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  792:9   warning  operation-operationId          Operation should have an `operationId`.
  866:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  868:10  warning  operation-operationId          Operation should have an `operationId`.
  951:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  953:10  warning  operation-operationId          Operation should have an `operationId`.
 1027:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  1029:9  warning  operation-operationId          Operation should have an `operationId`.
 1080:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  1082:9  warning  operation-operationId          Operation should have an `operationId`.
 1130:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  1132:9  warning  operation-operationId          Operation should have an `operationId`.
 1282:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  1284:9  warning  operation-operationId          Operation should have an `operationId`.
 1433:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  1435:9  warning  operation-operationId          Operation should have an `operationId`.
 1436:20  warning  operation-description          Operation `description` must be present and non-empty string.
 1477:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  1479:9  warning  operation-operationId          Operation should have an `operationId`.
 1647:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  1649:9  warning  operation-operationId          Operation should have an `operationId`.
 1817:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  1819:9  warning  operation-operationId          Operation should have an `operationId`.
 1855:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  1857:9  warning  operation-operationId          Operation should have an `operationId`.
 1896:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  1898:9  warning  operation-operationId          Operation should have an `operationId`.
 1966:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  1968:9  warning  operation-operationId          Operation should have an `operationId`.
 2060:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  2062:9  warning  operation-operationId          Operation should have an `operationId`.
 2305:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  2307:9  warning  operation-operationId          Operation should have an `operationId`.
 2670:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  2672:9  warning  operation-operationId          Operation should have an `operationId`.
 2802:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  2804:9  warning  operation-operationId          Operation should have an `operationId`.
 3105:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  3107:9  warning  operation-operationId          Operation should have an `operationId`.
 3348:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  3350:9  warning  operation-operationId          Operation should have an `operationId`.
 3604:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  3606:9  warning  operation-operationId          Operation should have an `operationId`.
 3650:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  3652:9  warning  operation-operationId          Operation should have an `operationId`.
 3698:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  3700:9  warning  operation-operationId          Operation should have an `operationId`.
 3743:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  3745:9  warning  operation-operationId          Operation should have an `operationId`.
 3746:20  warning  operation-description          Operation `description` must be present and non-empty string.
 3787:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  3789:9  warning  operation-operationId          Operation should have an `operationId`.
 3848:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
  3850:9  warning  operation-operationId          Operation should have an `operationId`.
 3909:11  warning  operation-tag-defined          Operation tags should be defined in global tags.
 4593:17  warning  oas3-unused-components-schema  Potentially unused components schema has been detected.
 4768:16  warning  oas3-unused-components-schema  Potentially unused components schema has been detected.
 5709:30  warning  oas3-unused-components-schema  Potentially unused components schema has been detected.
 5775:23  warning  oas3-unused-components-schema  Potentially unused components schema has been detected.
 5938:23  warning  oas3-unused-components-schema  Potentially unused components schema has been detected.
 6013:26  warning  oas3-unused-components-schema  Potentially unused components schema has been detected.
 6128:16  warning  oas3-unused-components-schema  Potentially unused components schema has been detected.
 6169:26  warning  oas3-unused-components-schema  Potentially unused components schema has been detected.
 6367:39  warning  oas3-unused-components-schema  Potentially unused components schema has been detected.

If you could fix some of that stuff it would look pretty bloomin excellent in Elements, and potentially nicer in your existing Swagger UI docs too.

https://elements-demo.stoplight.io/?spec=https://api.apis.guru/v2/specs/gettyimages.com/3/openapi.yaml#/paths/v3-artists-images/get

Are there API for contributor photo upload?

I want to create an open source gallery tool like Deepmeta or QHero. After I reviewed API document, I found there is no photo upload API at all?

Did I miss anything?Or if not, I hope relevant API could be added in the future. Do you have any plan about it?

Thank you!

x-amzn-errortype: ForbiddenException

I am testing Search API using curl

curl -i -H "Api-Key:xxxxxxxxxxxx" "https://api.gettyimages.com/v3/search/images?phrase=books"
And response is not as expected:

HTTP/2 403 
content-type: application/json
content-length: 23
date: Mon, 10 Feb 2020 19:02:24 GMT
x-amzn-requestid: 6d42d68e-5c0a-44d6-9ef5-a8e0e4760067
x-amzn-errortype: ForbiddenException
x-amz-apigw-id: HsdOBGRPPHcFVyg=
x-cache: Error from cloudfront
via: 1.1 30679409511c27f2f2de20e193b58ee5.cloudfront.net (CloudFront)
x-amz-cf-pop: MAA50-C1
x-amz-cf-id: 8bCpl4HrgbhkjPk-AEvDmlpKpAd0UUNYSMfLnNfBGG_hT-KqBVJNzw==

The error is not much clear. As per documentation it should come either of these errors:

  1. "Account Inactive"
  2. "Account Over Queries Per Second Limit"
  3. "Account Over Rate Limit"

Any help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.