Skip to content

This project is a challenge proposed by Alura through the AluraChallenge

Notifications You must be signed in to change notification settings

CarolFreire01/video-share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

video-share

This project is a challenge proposed by Alura through the #alurachallengeback

java Spring postgres

What's this?

This API creates, updates, deletes, and searches for all videos or by ID.

Installation

  1. Java 8
  2. Maven
  3. Postgres

API Reference

Creates video

  POST /video

Body

{
	"title": "Teste",
	"description": "novo video incluído",
	"urlVideo": "http://www.carol.com.br"
}

Get all Videos

  GET /videos

Response

[
  {
    "id": 34,
    "title": "teste",
    "description": "novo video incluído",
    "urlVideo": "http://www.carol.com.br"
  },
  {
    "id": 35,
    "title": "teste",
    "description": "novo video incluído",
    "urlVideo": "http://www.carol.com.br"
  }
]

Get Video by ID

  GET /video/{id}

Response

{
  "id": 33,
  "title": "teste 3333",
  "description": "novo video incluído",
  "urlVideo": "http://www.carol.com.br"
}

Update Video

  PUT /video/{id}

Body

{
	  "title": "teste 66666",
    "description": "novo video incluído",
    "urlVideo": "http://www.carol.com.br"
}
  DEL /video/{id}

Body

{
	
}

Authors

LinkedIn

About

This project is a challenge proposed by Alura through the AluraChallenge

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages