EXCLUSIVE

Vine star Cameron Dallas spent a lot more than six seconds in jail ... after he allegedly painted his apartment and everyone inside of it.

Law enforcement sources tell TMZ ... cops were called to Dallas' Hollywood pad Wednesday afternoon after neighbors complained about loud partying. When cops arrived, all was quiet and no one answered the door ... so they left.

Fast forward to 6 PM ... cops were called again after someone hurled a paint can out Dallas' sixth floor window, nearly hitting a woman below.

Cops arrived and discovered the entire apartment, along with everyone inside it, spattered with paint. Someone also hurled hue in the hallway.

Dallas was arrested on felony vandalism and held on $20,000 bail. He was released at 1:30 AM.

It appears the entire stunt was for a video. A few hours after his release, Dallas tweeted, "(: lets just say this video will be awesome..."