Skip to content
/ mugshot Public

🐝 Hive's profile picture management API :suspect:📷

Notifications You must be signed in to change notification settings

hex-g/mugshot

Repository files navigation

mugshot


The profile image API

First steps

(Configuring the environment):

  1. git clone https://github.com/hex-g/mugshot.git
    1. cd mugshot
  2. git checkout [branch]
  3. git submodule init
  4. git submodule update
  5. Run the project in your IDE
    1. required JDK 11+
    2. required Gradle compatible

Usage

URL: http://localhost:9500/ - Profile image

URL: http://localhost:9500/banner - Banner image

#1589F0 POST

  • header
    • key: authenticated-user-id
    • value: [identification for the folder where the image will be stored]
  • body
    • key: image
    • value: [file in form-data]

#c5f015 GET

  • header
    • key: authenticated-user-id
    • value: [identification for the folder where the image will be retrieved]

#f03c15 DELETE

  • header
    • key: authenticated-user-id
    • value: [identification for the folder where the image will be deleted]

URL: http://localhost:9500/generateImage/random - Profile image

#1589F0 POST

  • header
    • key: authenticated-user-id
    • value: [identification for the folder where the generated image will be stored]

URL: http://localhost:9500/base64 - Profile image

URL: http://localhost:9500/base64/banner - Banner image

alternative form for getting image

#c5f015 GET

  • header
    • key: authenticated-user-id
    • value: [identification for the folder where the image will be retrieved encoded in base64]

About

🐝 Hive's profile picture management API :suspect:📷

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages